about summary refs log tree commit diff
path: root/users/fcuny/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 14:16:05 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 14:16:05 -0800
commitfa0e2b5d641e221c580e3b916d5b3a513144e7f5 (patch)
treefc1bae8b175db2dbb8b762bc00db318c9eade644 /users/fcuny/desktop
parenthome-manager: delete keyring module (diff)
downloadworld-fa0e2b5d641e221c580e3b916d5b3a513144e7f5.tar.gz
hosts: load services at the host level
These services are not configured at the user level, but at the host
level. We might need a better separation in the future, in case I don't
use xserver for example.
Diffstat (limited to 'users/fcuny/desktop')
-rw-r--r--users/fcuny/desktop/default.nix10
-rw-r--r--users/fcuny/desktop/gtk.nix2
2 files changed, 1 insertions, 11 deletions
diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix
index 3a1e21a..860daa6 100644
--- a/users/fcuny/desktop/default.nix
+++ b/users/fcuny/desktop/default.nix
@@ -5,7 +5,6 @@
     ./browser.nix
     ./i3.nix
     ./media.nix
-    ./pass.nix
     ./terminal.nix
     ./gtk.nix
     ./xdg.nix
@@ -19,17 +18,10 @@
     pkgs.transmission-remote-gtk
   ];
 
-  environment = {
+  home = {
     sessionVariables = {
       TERMINAL = [ "alacritty" ];
       TERM = [ "xterm-256color" ];
     };
-
-    # Activate home-manager environment, if not already enabled
-    loginShellInit = ''
-      [ -d "$HOME/.nix-profile" ] || /nix/var/nix/profiles/per-user/$USER/home-manager/activate &> /dev/null
-    '';
-    homeBinInPath = true;
-    localBinInPath = true;
   };
 }
diff --git a/users/fcuny/desktop/gtk.nix b/users/fcuny/desktop/gtk.nix
index 8bc11a2..eea9d5e 100644
--- a/users/fcuny/desktop/gtk.nix
+++ b/users/fcuny/desktop/gtk.nix
@@ -31,6 +31,4 @@
       };
     };
   };
-
-  services.gvfs.enable = true;
 }