zfs hdds are BACK
This commit is contained in:
parent
1bc361e49c
commit
2de85c12ff
@ -22,7 +22,7 @@
|
||||
./services/minecraft.nix
|
||||
|
||||
./services/wg.nix
|
||||
# ./services/qbittorrent.nix
|
||||
./services/qbittorrent.nix
|
||||
./services/bitmagnet.nix
|
||||
|
||||
# ./services/matrix.nix
|
||||
@ -40,13 +40,12 @@
|
||||
};
|
||||
|
||||
# srvos enables vim, i don't want to use vim, disable it here:
|
||||
programs.vim =
|
||||
{
|
||||
defaultEditor = false;
|
||||
}
|
||||
// lib.optionalAttrs (options.programs.vim ? enable) {
|
||||
enable = false;
|
||||
};
|
||||
programs.vim = {
|
||||
defaultEditor = false;
|
||||
}
|
||||
// lib.optionalAttrs (options.programs.vim ? enable) {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
powerManagement = {
|
||||
powertop.enable = true;
|
||||
|
||||
20
zfs.nix
20
zfs.nix
@ -31,7 +31,7 @@ in
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.extraPools = [
|
||||
service_configs.zpool_ssds
|
||||
# service_configs.zpool_hdds
|
||||
service_configs.zpool_hdds
|
||||
];
|
||||
|
||||
services.sanoid = {
|
||||
@ -66,15 +66,15 @@ in
|
||||
yearly = 0;
|
||||
};
|
||||
|
||||
# datasets."${service_configs.zpool_hdds}" = {
|
||||
# recursive = true;
|
||||
# autoprune = true;
|
||||
# autosnap = true;
|
||||
# hourly = 0;
|
||||
# daily = 0;
|
||||
# monthly = 0;
|
||||
# yearly = 0;
|
||||
# };
|
||||
datasets."${service_configs.zpool_hdds}" = {
|
||||
recursive = true;
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
hourly = 0;
|
||||
daily = 0;
|
||||
monthly = 0;
|
||||
yearly = 0;
|
||||
};
|
||||
};
|
||||
|
||||
services.zfs = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user