From f16368cec463e4a0a6dc9276fbf516b75c24a7a7 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sun, 4 Feb 2024 00:22:52 +0100 Subject: [PATCH] This is how we do that maybe? --- nixos/hosts/EDI/hardware-configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/EDI/hardware-configuration.nix b/nixos/hosts/EDI/hardware-configuration.nix index be659e2..c62d408 100644 --- a/nixos/hosts/EDI/hardware-configuration.nix +++ b/nixos/hosts/EDI/hardware-configuration.nix @@ -31,8 +31,10 @@ }; swapDevices = [ - {device = "dev/disk/by-uuid/e2156681-e9de-49ca-8ed3-ae83cd696b89";} - {device = "/dev/disk/by-uuid/6aa6422f-c724-4c67-851d-030daf5003fb";} + { + device = "dev/disk/by-uuid/2b4f0e94-65b4-4e98-8744-0c671954e524"; + randomEncryption.enable = true; + } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking