From a1ff021b102e586a5e98992fe714cc9cd2d9c3a3 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Sat, 25 Oct 2025 18:40:14 +0200 Subject: [PATCH] change laptop partitions --- hosts/nuos/disk-config.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hosts/nuos/disk-config.nix b/hosts/nuos/disk-config.nix index a2870b0..4ee4091 100644 --- a/hosts/nuos/disk-config.nix +++ b/hosts/nuos/disk-config.nix @@ -2,7 +2,7 @@ { lib, ... }: { disko.devices = { - disk.disk1 = { + disk.main = { device = lib.mkDefault "/dev/nvme0n1"; type = "disk"; content = { @@ -15,7 +15,7 @@ }; esp = { name = "ESP"; - size = "500M"; + size = "1G"; type = "EF00"; content = { type = "filesystem"; @@ -26,11 +26,12 @@ root = { size = "100%"; content = { - type = "filesystem"; - format = "ext4"; + type = "btrfs"; + extraArgs = [ "-f" ]; mountpoint = "/"; mountOptions = [ - "defaults" + "compress=zstd" + "noatime" # ignore access times ]; }; };