aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/spt-mox2.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-07-20 11:32:54 +0200
committerKarel Kočí <cynerd@email.cz>2022-07-20 11:32:54 +0200
commitfba2aa363a8b8c4670c7eafd227bfd4eb675d856 (patch)
tree8d3b927c074498a095f3fb7b946d928ea07f4976 /nixos/machine/spt-mox2.nix
parent824e7fb653e6e7a098c9d5c8750845a736f1aaf4 (diff)
downloadnixos-personal-fba2aa363a8b8c4670c7eafd227bfd4eb675d856.tar.gz
nixos-personal-fba2aa363a8b8c4670c7eafd227bfd4eb675d856.tar.bz2
nixos-personal-fba2aa363a8b8c4670c7eafd227bfd4eb675d856.zip
nixos: add swap for dean and spt-mox2
Diffstat (limited to 'nixos/machine/spt-mox2.nix')
-rw-r--r--nixos/machine/spt-mox2.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix
index ed6a028..5922278 100644
--- a/nixos/machine/spt-mox2.nix
+++ b/nixos/machine/spt-mox2.nix
@@ -6,6 +6,11 @@ with lib;
config = {
+ swapDevices = [{
+ device = "/dev/disk/by-partlabel/NixTurrisSwap";
+ priority = 1;
+ }];
+
#boot.kernelPatches = [{
# name = "rwtm";
# patch = null;