diff --git a/home-manager/machines/crash/home.nix b/home-manager/machines/crash/home.nix index bab9b46..29d578f 100644 --- a/home-manager/machines/crash/home.nix +++ b/home-manager/machines/crash/home.nix @@ -28,6 +28,7 @@ ../../modules/programs/ssh.nix (import ../../modules/programs/emacs.nix { }) ../../modules/programs/fonts.nix + ../../modules/programs/desktop.nix ]; home.username = "nathan"; home.homeDirectory = "/home/nathan/"; @@ -40,6 +41,13 @@ # Machine specific configuration services.emacs.defaultEditor = true; + + systemd.user.targets.tray = { + Unit = { + Description = "Home Manager System Tray"; + Requires = [ "graphical-session-pre.target" ]; + }; + }; } ) ]; diff --git a/home-manager/modules/programs/desktop.nix b/home-manager/modules/programs/desktop.nix new file mode 100644 index 0000000..0647cae --- /dev/null +++ b/home-manager/modules/programs/desktop.nix @@ -0,0 +1,18 @@ +{ + config, + lib, + pkgs, + ... +}: + +{ + home.packages = with pkgs; [ + ]; + + services.syncthing = { + enable = true; + tray = { + enable = true; + }; + }; +}