mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/ni/services/backup: add btrfs autoscrub
This commit is contained in:
parent
6737cd1d16
commit
e11c054e54
@ -23,11 +23,4 @@
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
fileSystems = [
|
||||
"/mnt/archives"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -112,5 +112,12 @@ in
|
||||
Host ${hetzner-boxes-server}
|
||||
IdentityFile ${config.sops.secrets."${pathPrefix}/ssh-key".path}
|
||||
'';
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
fileSystems = [
|
||||
"/mnt/archives"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user