Evie Litherland-Smith
048d44ce6d
Add Sushi (NautilusPreviewer) for quick file previews Add zathura back as PDF viewer Update mimeapps for swayimg, mpv, zathura, etc...
60 lines
1.6 KiB
Nix
60 lines
1.6 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./hyprland.nix
|
|
./email/default.nix
|
|
./calendar/default.nix
|
|
./terminal/default.nix
|
|
./emacs/default.nix
|
|
./browser/default.nix
|
|
./zathura/default.nix
|
|
];
|
|
home.packages = with pkgs; [
|
|
wl-clipboard
|
|
remmina
|
|
webcord
|
|
signal-desktop
|
|
whatsapp-for-linux
|
|
nomachine-client
|
|
];
|
|
services.syncthing.enable = true;
|
|
programs.mpv.enable = true;
|
|
gtk = {
|
|
enable = true;
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
iconTheme = {
|
|
package = (pkgs.papirus-icon-theme.override { color = "magenta"; });
|
|
name = "Papirus-Light";
|
|
};
|
|
};
|
|
xdg = {
|
|
mime.enable = true;
|
|
mimeApps =
|
|
let
|
|
defaultApplications = import ./mimeapps/default.nix;
|
|
in
|
|
{
|
|
enable = true;
|
|
inherit defaultApplications;
|
|
associations.added = defaultApplications;
|
|
};
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
extraConfig = {
|
|
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
|
};
|
|
};
|
|
configFile = {
|
|
# Ensure GTK config is set
|
|
"gtk-3.0/gtk.css".force = true;
|
|
"gtk-3.0/settings.ini".force = true;
|
|
"gtk-4.0/gtk.css".force = true;
|
|
"gtk-4.0/settings.ini".force = true;
|
|
# Autostart some programs
|
|
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
|
|
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
|
|
};
|
|
};
|
|
}
|