diff --git a/home-manager/modules/shell/default.nix b/home-manager/modules/shell/default.nix index 9204c4c..cbc7eb4 100644 --- a/home-manager/modules/shell/default.nix +++ b/home-manager/modules/shell/default.nix @@ -1,9 +1,9 @@ { ... }: { imports = [ - ./zsh.nix - ./starship.nix - ./konsole.nix ./btop.nix + ./konsole.nix + ./starship.nix + ./zsh.nix ]; } \ No newline at end of file diff --git a/hosts/laptop/modules/default.nix b/hosts/laptop/modules/default.nix index 830507c..1d37cf4 100644 --- a/hosts/laptop/modules/default.nix +++ b/hosts/laptop/modules/default.nix @@ -14,6 +14,7 @@ ./nvidia.nix ./packages.nix ./sound.nix + ./swap.nix ./users.nix ]; -} \ No newline at end of file +} diff --git a/hosts/laptop/modules/swap.nix b/hosts/laptop/modules/swap.nix new file mode 100644 index 0000000..966a09a --- /dev/null +++ b/hosts/laptop/modules/swap.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + zramSwap = { + enable = true; + algorithm = "zstd"; + }; +}