enable btrfs autoScrub
This commit is contained in:
parent
2f6e08d3df
commit
2afab55bf4
6 changed files with 31 additions and 1 deletions
6
hosts/rico1/services/btrfs.nix
Normal file
6
hosts/rico1/services/btrfs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
_: {
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "weekly";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./btrfs.nix
|
||||
./caddy.nix
|
||||
./dendrite
|
||||
./frpc.nix
|
||||
|
|
6
hosts/rico2/services/btrfs.nix
Normal file
6
hosts/rico2/services/btrfs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
_: {
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "weekly";
|
||||
};
|
||||
}
|
|
@ -1,3 +1,13 @@
|
|||
_: {
|
||||
imports = [ ./adtya.xyz.nix ./caddy.nix ./frpc.nix ./if3.nix ./proofs.nix ./ssh.nix ./wiki.nix ];
|
||||
imports = [
|
||||
./adtya.xyz.nix
|
||||
./btrfs.nix
|
||||
./caddy.nix
|
||||
./frpc.nix
|
||||
./if3.nix
|
||||
./proofs.nix
|
||||
./ssh.nix
|
||||
./wiki.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
6
hosts/skipper/services/btrfs.nix
Normal file
6
hosts/skipper/services/btrfs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
_: {
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
fileSystems = [ "/mnt/system" ];
|
||||
};
|
||||
}
|
|
@ -4,6 +4,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
./btrfs.nix
|
||||
./dbus.nix
|
||||
./keyd.nix
|
||||
./pipewire.nix
|
||||
|
|
Loading…
Reference in a new issue