diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-24 16:02:55 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-24 16:02:55 +0100 |
commit | cba5a2b170c5a2120164bd20029c41254afed31d (patch) | |
tree | 8b77ddcbfab8efc6b657c6322a957903998a18de | |
parent | 409fed693a3c773e75001ea2a645412b2b07b37c (diff) | |
download | dotfiles-cba5a2b170c5a2120164bd20029c41254afed31d.tar.gz |
Add swapfile
-rw-r--r-- | nix-conf/machines/djmuk1/configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nix-conf/machines/djmuk1/configuration.nix b/nix-conf/machines/djmuk1/configuration.nix index 3ae99c5..be45319 100644 --- a/nix-conf/machines/djmuk1/configuration.nix +++ b/nix-conf/machines/djmuk1/configuration.nix @@ -81,5 +81,10 @@ i18n.defaultLocale = "en_GB.UTF-8"; + swapDevices = [ { + device = "/var/lib/swapfile"; + size = 2*1024; + } ]; + system.stateVersion = "23.11"; } |