move common zfs settings to modules/base
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
timeZone = "Europe/Vilnius";
|
||||
|
||||
base = {
|
||||
zfs.enable = true;
|
||||
users.passwd = {
|
||||
root.passwordFile = config.age.secrets.root-passwd-hash.path;
|
||||
motiejus.passwordFile = config.age.secrets.motiejus-passwd-hash.path;
|
||||
@@ -38,6 +39,12 @@
|
||||
enable = true;
|
||||
mountpoints = ["/home"];
|
||||
};
|
||||
|
||||
unitstatus = {
|
||||
enable = true;
|
||||
email = "motiejus+alerts@jakstys.lt";
|
||||
units = ["nixos-upgrade"];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
@@ -97,12 +104,6 @@
|
||||
"jakstys.lt.".data = myData.jakstysLTZone;
|
||||
};
|
||||
};
|
||||
|
||||
zfs = {
|
||||
autoScrub.enable = true;
|
||||
trim.enable = true;
|
||||
expandOnBoot = "all";
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
||||
Reference in New Issue
Block a user