From 926aed0c893ecdfac89a83ffb45bd706efdb1b53 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 30 Aug 2023 14:54:10 +0200 Subject: [PATCH] chore --- yodaTab/hardware-configuration.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/yodaTab/hardware-configuration.nix b/yodaTab/hardware-configuration.nix index 05e62ac..2c44a47 100644 --- a/yodaTab/hardware-configuration.nix +++ b/yodaTab/hardware-configuration.nix @@ -23,6 +23,12 @@ boot.initrd.luks.devices."luks-ba8b94d0-7f70-496a-ad87-eadc5e852aad".device = "/dev/disk/by-uuid/ba8b94d0-7f70-496a-ad87-eadc5e852aad"; + fileSystems."/swap" = + { device = "/dev/disk/by-uuid/f87e6b3c-12f2-4fda-92b3-06b07bdad58f"; + fsType = "btrfs"; + options = [ "subvol=@swap" ]; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/9034-800C"; fsType = "vfat"; @@ -35,12 +41,6 @@ boot.initrd.luks.devices."512gb".device = "/dev/disk/by-uuid/03d4ac28-2c81-463e-b615-fb623d40b6fa"; - fileSystems."/swap" = - { device = "/dev/disk/by-uuid/f87e6b3c-12f2-4fda-92b3-06b07bdad58f"; - fsType = "btrfs"; - options = [ "subvol=@swap" ]; - }; - swapDevices = [ { device = "/swap/swapfile"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking