diff --git a/nix/systems/phaedra/hardware-configuration.nix b/nix/systems/phaedra/hardware-configuration.nix index 1e9a0ab..1730553 100644 --- a/nix/systems/phaedra/hardware-configuration.nix +++ b/nix/systems/phaedra/hardware-configuration.nix @@ -22,6 +22,12 @@ fsType = "ext4"; }; + # swap + swapDevices = [ { + device = "/swapfile"; + size = 4096; + } ]; + # networking networking.useDHCP = lib.mkDefault true; diff --git a/nix/systems/talathiel/hardware-configuration.nix b/nix/systems/talathiel/hardware-configuration.nix index eddce15..2c1a0b8 100644 --- a/nix/systems/talathiel/hardware-configuration.nix +++ b/nix/systems/talathiel/hardware-configuration.nix @@ -22,6 +22,12 @@ fsType = "ext4"; }; + # swap + swapDevices = [ { + device = "/swapfile"; + size = 4096; + } ]; + # networking networking.useDHCP = lib.mkDefault true;