fix: new syntax

This commit is contained in:
Ashhhleyyy 2023-11-12 18:58:34 +00:00
parent 7cfe53e9b8
commit 7d990ceb9b
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -9,14 +9,11 @@
./hardware-config.nix
];
boot.initrd.luks.devices = [
{
name = "root";
device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466";
preLVM = true;
allowDiscards = true;
}
];
boot.initrd.luks.devices.root = {
device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466";
preLVM = true;
allowDiscards = true;
};
networking.hostName = "alex";
networking.firewall.enable = false;