zfs - hopefully set-up now?

This commit is contained in:
serenity-F 2024-09-26 16:51:15 +10:00
parent 57baff1611
commit fa4d3d8977
No known key found for this signature in database
5 changed files with 82 additions and 22 deletions

View file

@ -2,22 +2,33 @@
{
imports = [
## Include the results of the hardware scan.
## Import necessary flake modules
#"${builtins.fetchTarball "<flake module url>"}/module.nix"
## Include host specific options
./hardware.nix
#"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
./network.nix
## Include core config options
../../config.nix
];
nix = {
#settings = {
#};
gc = {
## Every day, automatically collect garbage older than 10 days
## Automatically run 'nix-collect-garbage',
automatic = true;
## every day,
dates = "daily";
## and clear junk older than 3 days
options = "--delete-older-than 3d";
## No clue what this does lol.
persistent = true;
};
};