From 8ed3dfc9ebc52a50c3e6d4623204847822944422 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Feb 2022 13:47:59 -0800 Subject: move configurations and modules around Sorry, this is a mess, hopefully the last one. --- users/fcuny/desktop/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'users/fcuny/desktop/default.nix') diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix index 9f0bcf3..3a1e21a 100644 --- a/users/fcuny/desktop/default.nix +++ b/users/fcuny/desktop/default.nix @@ -9,6 +9,7 @@ ./terminal.nix ./gtk.nix ./xdg.nix + ./trust ]; home.packages = [ @@ -17,4 +18,18 @@ pkgs.gnome3.nautilus pkgs.transmission-remote-gtk ]; + + environment = { + 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; + }; } -- cgit v1.2.3