change laptop partitions

This commit is contained in:
Noa Aarts 2025-10-25 18:40:14 +02:00
parent dfcf044852
commit a1ff021b10
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -2,7 +2,7 @@
{ lib, ... }: { lib, ... }:
{ {
disko.devices = { disko.devices = {
disk.disk1 = { disk.main = {
device = lib.mkDefault "/dev/nvme0n1"; device = lib.mkDefault "/dev/nvme0n1";
type = "disk"; type = "disk";
content = { content = {
@ -15,7 +15,7 @@
}; };
esp = { esp = {
name = "ESP"; name = "ESP";
size = "500M"; size = "1G";
type = "EF00"; type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
@ -26,11 +26,12 @@
root = { root = {
size = "100%"; size = "100%";
content = { content = {
type = "filesystem"; type = "btrfs";
format = "ext4"; extraArgs = [ "-f" ];
mountpoint = "/"; mountpoint = "/";
mountOptions = [ mountOptions = [
"defaults" "compress=zstd"
"noatime" # ignore access times
]; ];
}; };
}; };