use zfs as snapshot #1

Merged
rayandrew merged 8 commits from zfs into main 2024-10-26 21:07:15 -05:00
2 changed files with 10 additions and 1 deletions
Showing only changes of commit 5381b594e8 - Show all commits

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

View file

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