Skip to content

Commit

Permalink
scarif: add swapfile
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <me@sumnerevans.com>
  • Loading branch information
sumnerevans committed Mar 11, 2024
1 parent 247aab2 commit a7a5872
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion host-configurations/scarif.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
networking.interfaces.wlp1s0.useDHCP = true;
networking.useDHCP = lib.mkDefault true;

# Enable the OpenSSH daemon.
services.openssh.enable = true;

programs.sway.enable = true;
programs.steam.enable = true;

Expand Down Expand Up @@ -80,5 +83,8 @@
};
};

swapDevices = [ ];
swapDevices = [{
device = "/var/lib/swapfile";
size = 32 * 1024;
}];
}

0 comments on commit a7a5872

Please sign in to comment.