2024-09-06 14:07:46 +01:00
|
|
|
{ config, pkgs, ... }:
|
2024-08-30 12:57:02 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-10-25 11:25:34 +01:00
|
|
|
./hyprland.nix
|
2024-10-05 16:39:27 +01:00
|
|
|
./email/default.nix
|
|
|
|
./calendar/default.nix
|
2024-09-22 11:45:47 +01:00
|
|
|
./terminal/default.nix
|
2024-10-05 16:39:27 +01:00
|
|
|
./emacs/default.nix
|
2024-08-30 12:57:02 +01:00
|
|
|
./browser/default.nix
|
2024-10-25 12:19:00 +01:00
|
|
|
./zathura/default.nix
|
2024-08-30 12:57:02 +01:00
|
|
|
];
|
2024-10-25 11:25:34 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
wl-clipboard
|
2024-10-25 12:19:00 +01:00
|
|
|
remmina
|
2024-10-25 11:25:34 +01:00
|
|
|
webcord
|
|
|
|
signal-desktop
|
|
|
|
whatsapp-for-linux
|
|
|
|
nomachine-client
|
|
|
|
];
|
2024-10-16 08:09:13 +01:00
|
|
|
services.syncthing.enable = true;
|
2024-10-25 11:25:34 +01:00
|
|
|
programs.mpv.enable = true;
|
2024-09-27 16:19:42 +01:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2024-09-29 16:39:13 +01:00
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
2024-09-27 16:19:42 +01:00
|
|
|
iconTheme = {
|
2024-10-11 07:48:42 +01:00
|
|
|
package = (pkgs.papirus-icon-theme.override { color = "magenta"; });
|
2024-10-25 11:25:34 +01:00
|
|
|
name = "Papirus-Light";
|
2024-09-27 16:19:42 +01:00
|
|
|
};
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
xdg = {
|
|
|
|
mime.enable = true;
|
2024-07-30 15:06:34 +01:00
|
|
|
mimeApps =
|
|
|
|
let
|
2024-08-30 12:57:02 +01:00
|
|
|
defaultApplications = import ./mimeapps/default.nix;
|
2024-07-30 15:06:34 +01:00
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
inherit defaultApplications;
|
2024-09-22 11:45:47 +01:00
|
|
|
associations.added = defaultApplications;
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
|
|
|
extraConfig = {
|
|
|
|
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
|
|
|
};
|
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
configFile = {
|
2024-09-29 16:39:13 +01:00
|
|
|
# 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
|
2024-08-30 12:57:02 +01:00
|
|
|
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
|
2024-09-22 10:12:34 +01:00
|
|
|
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
|
2024-08-30 12:57:02 +01:00
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
}
|