diff --git a/lib/hosts.nix b/lib/hosts.nix index c565acf..dbcae5b 100644 --- a/lib/hosts.nix +++ b/lib/hosts.nix @@ -17,6 +17,7 @@ specialArgs = { inherit inputs; inherit lib; + username = user; }; }; }) (lib.getDirsInDir ../hosts)); diff --git a/modules/nixos/core/systemd.nix b/modules/nixos/core/systemd.nix new file mode 100644 index 0000000..0738be6 --- /dev/null +++ b/modules/nixos/core/systemd.nix @@ -0,0 +1,8 @@ +{ ... }: + +{ + /* https://files.catbox.moe/s5diss.mp4 */ + systemd.extraConfig = '' + DefaultTimeoutStopSpec=5s + ''; +} diff --git a/modules/nixos/desktop/gnome/default.nix b/modules/nixos/desktop/gnome/default.nix index 8fdcbc4..c02e6db 100644 --- a/modules/nixos/desktop/gnome/default.nix +++ b/modules/nixos/desktop/gnome/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, username, ... }: { services.xserver = { @@ -40,4 +40,12 @@ just-perfection quick-settings-tweaker ]); + + environment.persistence."/nix/persist" = { + users."${username}" = { + directories = [ + ".config/dconf" + ]; + }; + }; }