From 0f6ff4bda2a2a55259626b1c9f6ea0bbd6c1e0b9 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sat, 23 Dec 2023 17:08:49 -0700 Subject: encrypted partitions on khad were annoying and useless --- machines/khad/configuration.nix | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'machines/khad/configuration.nix') diff --git a/machines/khad/configuration.nix b/machines/khad/configuration.nix index b0f8490..3f46f5f 100644 --- a/machines/khad/configuration.nix +++ b/machines/khad/configuration.nix @@ -14,18 +14,6 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - # Setup keyfile - boot.initrd.secrets = { - "/crypto_keyfile.bin" = null; - }; - - # Enable swap on luks - boot.initrd.luks.devices."luks-12daadca-e9a9-413b-9286-017b3038e5ba".device = "/dev/disk/by-uuid/12daadca-e9a9-413b-9286-017b3038e5ba"; - boot.initrd.luks.devices."luks-12daadca-e9a9-413b-9286-017b3038e5ba".keyFile = "/crypto_keyfile.bin"; - - boot.initrd.luks.devices."luks-02516df1-d33b-4c83-90f8-4be7b918132e".keyFile = "/crypto_keyfile.bin"; - - networking.hostName = "khad"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. -- cgit v1.2.3