nixos-config/configs/disko/laptop-ssd/default.nix
Gabriel Arazas 63ab51492d
diskoConfigs/laptop-ssd: update to be specific
It doesn't help much and I don't want it to set another submodule for
filesystem suite.
2025-01-01 16:26:57 +08:00

31 lines
614 B
Nix

{ disk ? "/dev/nvme1n1", ... }:
{
disko.devices = {
disk."ni-secondary" = {
device = disk;
type = "disk";
content = {
type = "gpt";
partitions = {
data = {
size = "100%";
type = "8300";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/root" = {
mountOptions = [ "compress=zstd:10" ];
mountpoint = "/mnt/laptop-ssd";
};
};
};
};
};
};
};
};
}