mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
Gabriel Arazas
63ab51492d
It doesn't help much and I don't want it to set another submodule for filesystem suite.
31 lines
614 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|