diff --git a/nixos/hosts/nixos-desktop/disks.nix b/nixos/hosts/nixos-desktop/disks.nix index 7e9857eb..bb23c5d6 100644 --- a/nixos/hosts/nixos-desktop/disks.nix +++ b/nixos/hosts/nixos-desktop/disks.nix @@ -1,20 +1,20 @@ { imports = [ ../../common/services/snapper.nix ]; - + services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.interval = "weekly"; - disko.devices.disk.nvme0 = { + disko.devices.disk.nvme0n1 = { type = "disk"; device = "/dev/nvme0n1"; - content = { + content = { type = "gpt"; partitions = { BOOT = { priority = 1; name = "BOOT"; start = "0%"; - end = "550MiB"; + end = "1GiB"; type = "EF00"; content = { type = "filesystem"; @@ -24,7 +24,7 @@ mountpoint = "/boot"; }; }; # partition 1 (ESP) - LUKS-ROOT = { + LUKS-ROOT = { start = "550MiB"; end = "100%"; content = { @@ -67,4 +67,4 @@ }; # partitions }; # content }; # disko.devices.disk.nvme0 -} # root +} # nix