infrastructure/nixos-configurations/lindberg-webapps/disko-config.nix
Fabian Hauser 87e85c370b
All checks were successful
CI / build (push) Successful in 1m35s
CI / deploy (docs-ops.qo.is) (push) Successful in 1m30s
CI / deploy (system-vm) (push) Successful in 1m59s
CI / deploy (system-physical) (push) Successful in 2m36s
Update lindberg-webapps configurations
2025-06-14 21:07:20 +03:00

38 lines
821 B
Nix

{ ... }:
{
disko.devices.disk = {
system = {
type = "disk";
device = "/dev/vdb";
content = {
type = "gpt";
partitions = {
boot = {
# for grub MBR
size = "1M";
type = "EF02";
};
system = {
size = "100%";
content = {
type = "btrfs";
subvolumes = {
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"/root" = {
mountpoint = "/";
mountOptions = [ "noatime" ];
};
};
};
};
};
};
};
};
}