This commit is contained in:
Ray Andrew 2024-10-26 17:12:20 -05:00
parent 3b50015cb9
commit 5381b594e8
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,6 @@
``` ```
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko /tmp/disk-config.nix sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko /tmp/nix-priv/src/hosts/pickwick/disko.nix
``` ```
- https://github.com/iynaix/dotfiles/blob/13c2fcec880d292726f52be1075277d521caf3a7/nixos/zfs.nix - https://github.com/iynaix/dotfiles/blob/13c2fcec880d292726f52be1075277d521caf3a7/nixos/zfs.nix

View file

@ -47,8 +47,17 @@
"defaults" "defaults"
"umask=0077" "umask=0077"
]; ];
extraArgs = [ "-n" "BOOT" ];
}; };
}; };
swap = {
size = "108G";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true;
};
};
zfs = { zfs = {
size = "100%"; size = "100%";
content = { content = {