diff options
Diffstat (limited to 'hosts/common')
-rw-r--r-- | hosts/common/desktop/xserver.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/common/desktop/xserver.nix b/hosts/common/desktop/xserver.nix index 7537863..b02dc01 100644 --- a/hosts/common/desktop/xserver.nix +++ b/hosts/common/desktop/xserver.nix @@ -20,4 +20,19 @@ i3.enable = true; }; }; + + services = { + dbus.packages = [ pkgs.gcr ]; + gnome.gnome-keyring.enable = true; + gvfs.enable = true; + }; + + environment = { + # 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; + }; } |