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