From 5a2d22b6bcc034ed6171486f2cb60de070db6d82 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Thu, 4 Jul 2024 22:14:49 +0900 Subject: [PATCH] Enable swap file --- hosts/default/home.nix | 1 + modules/nixos/swap.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/default/home.nix b/hosts/default/home.nix index fff9073..22d98c5 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -49,6 +49,7 @@ # Other utility mullvad-vpn + easyeffects ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage diff --git a/modules/nixos/swap.nix b/modules/nixos/swap.nix index b09b473..38682ce 100644 --- a/modules/nixos/swap.nix +++ b/modules/nixos/swap.nix @@ -3,6 +3,6 @@ { swapDevices = [{ device = "/var/lib/swapfile"; - seize = 20*1024; + size = 20*1024; }]; } \ No newline at end of file