hosts/plover: update Disko config... agai

This commit is contained in:
Gabriel Arazas 2024-09-22 20:47:17 +08:00
parent 511c25788c
commit d0bdbb8992
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -1,9 +1,9 @@
{ disk ? "/dev/sda", ... }: { ... }:
{ {
disko.devices = { disko.devices = {
disk.primary = { disk.primary = {
device = disk; device = "/dev/sda";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";
@ -28,29 +28,26 @@
}; };
root = { root = {
start = "256MiB"; size = "100%";
end = "100%";
type = "8300"; type = "8300";
content = { content = {
type = "btrfs"; type = "btrfs";
extraArgs = [ "-f" ]; extraArgs = [ "-f" ];
subvolumes = [ subvolumes = {
{
"/root" = { "/root" = {
mountOptions = [ "compress=zstd" ]; mountOptions = [ "compress=zstd:10" ];
mountpoint = "/"; mountpoint = "/";
}; };
"/home" = { "/home" = {
mountOptions = [ "compress=zstd" ]; mountOptions = [ "compress=zstd:10" ];
mountpoint = "/home"; mountpoint = "/home";
}; };
"/nix" = { "/nix" = {
mountOptions = [ "compress=zstd" "noatime" "noacl" ]; mountOptions = [ "compress=zstd:8" "noatime" "noacl" ];
mountpoint = "/nix"; mountpoint = "/nix";
}; };
} };
];
}; };
}; };
}; };