diff --git a/nixos/_mixins/filesystems/encrypted-root.nix b/nixos/_mixins/filesystems/encrypted-root.nix deleted file mode 100644 index dd48fd7..0000000 --- a/nixos/_mixins/filesystems/encrypted-root.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, ... }: -let hostname = config.networking.hostName; -in { - boot.initrd = { - luks.devices."${hostname}".device = "/dev/disk/by-label/${hostname}_crypt"; - }; -} diff --git a/nixos/floki/default.nix b/nixos/floki/default.nix index e9e05ce..90ccbda 100644 --- a/nixos/floki/default.nix +++ b/nixos/floki/default.nix @@ -8,7 +8,6 @@ (import ./disks.nix) ../_mixins/hardware/systemd-boot.nix - ../_mixins/filesystems/encrypted-root.nix ../_mixins/services/bluetooth.nix ../_mixins/services/pipewire.nix ../_mixins/virt