mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
hosts/plover: update Disko config... agai
This commit is contained in:
parent
511c25788c
commit
d0bdbb8992
@ -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";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user