From 356f23541f39232826afd00365e50fdec78ec80e Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Mon, 2 Dec 2024 19:35:25 -0700 Subject: [PATCH] Reformat --- home-manager/modules/shell/default.nix | 6 +++--- hosts/laptop/modules/default.nix | 3 ++- hosts/laptop/modules/swap.nix | 7 +++++++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 hosts/laptop/modules/swap.nix 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"; + }; +}