diff --git a/common.nix b/common.nix index b069411..9e8f78e 100644 --- a/common.nix +++ b/common.nix @@ -80,11 +80,14 @@ users.users.fred = { fastfetch vesktop ]; - shellInit = '' - # Force GTK dark theme for Electron apps like vesktop - export GTK_THEME=Adwaita:dark - ''; }; + +# User-specific environment variables +users.mutableUsers = true; # usually true +environment.variables = { + GTK_THEME = "Adwaita:dark"; +}; + # Allow unfree packages nixpkgs.config.allowUnfree = true;