diff options
| author | seth <[email protected]> | 2023-04-23 08:32:58 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-23 08:32:58 -0400 |
| commit | 63425aec0cf15eece34b519d1c0a2fe966480c6b (patch) | |
| tree | 89cf832dd3fe47d197223b66cbebb5b172a5bdfc /hosts/p-body | |
| parent | 25b7874b5d83947b8135b0337d99745dd0f98a52 (diff) | |
give p-body more swap
Diffstat (limited to 'hosts/p-body')
| -rw-r--r-- | hosts/p-body/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix index 4e3d7b7..665ac64 100644 --- a/hosts/p-body/default.nix +++ b/hosts/p-body/default.nix @@ -133,6 +133,12 @@ }; }; + swapDevices = [ + { + device = "/swapfile"; + } + ]; + system.stateVersion = "22.11"; users.users = let @@ -149,4 +155,6 @@ inherit openssh; }; }; + + zramSwap.enable = true; } |
