diff --git a/system/work/hardware.nix b/system/work/hardware.nix index db994e7..8eb93a0 100644 --- a/system/work/hardware.nix +++ b/system/work/hardware.nix @@ -49,13 +49,20 @@ options = [ "subvol=@home" "compress=zstd" "autodefrag" ]; }; + fileSystems."/swap" = + { + device = "/dev/disk/by-uuid/48a07e82-1090-448c-a751-3a410afba0f7"; + fsType = "btrfs"; + options = [ "subvol=@swap" ]; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/EED9-A165"; fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = [{ device = "/swap/swapfile"; }]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's