btrfs scrub
This commit is contained in:
4
base.nix
4
base.nix
@@ -145,10 +145,6 @@
|
|||||||
services = {
|
services = {
|
||||||
smartd.enable = true;
|
smartd.enable = true;
|
||||||
fstrim.enable = true;
|
fstrim.enable = true;
|
||||||
btrfs.autoScrub = {
|
|
||||||
enable = true;
|
|
||||||
fileSystems = [ "/" ];
|
|
||||||
};
|
|
||||||
avahi = {
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
|
|||||||
@@ -101,7 +101,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
btrfs.autoScrub.fileSystems = [ "/" ];
|
btrfs.autoScrub = {
|
||||||
|
enable = true;
|
||||||
|
fileSystems = [ "/" ];
|
||||||
|
};
|
||||||
# minidlna = {
|
# minidlna = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# openFirewall = true;
|
# openFirewall = true;
|
||||||
|
|||||||
@@ -51,5 +51,8 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.btrfs.autoScrub.fileSystems = [ "/" "/mnt/pool" ];
|
services.btrfs = {
|
||||||
|
enable = true;
|
||||||
|
fileSystems = [ "/" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,16 +109,22 @@
|
|||||||
enableVirtualCamera = true;
|
enableVirtualCamera = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.resilio = {
|
services = {
|
||||||
deviceName = "chichis";
|
btrfs.autoScrub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
useUpnp = true;
|
fileSystems = [ "/" ];
|
||||||
enableWebUI = true;
|
};
|
||||||
httpPass = "528491";
|
resilio = {
|
||||||
httpLogin = "chichis";
|
deviceName = "chichis";
|
||||||
httpListenPort = 9876;
|
enable = true;
|
||||||
httpListenAddr = "0.0.0.0";
|
useUpnp = true;
|
||||||
directoryRoot = "/resilio";
|
enableWebUI = true;
|
||||||
|
httpPass = "528491";
|
||||||
|
httpLogin = "chichis";
|
||||||
|
httpListenPort = 9876;
|
||||||
|
httpListenAddr = "0.0.0.0";
|
||||||
|
directoryRoot = "/resilio";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
podman = {
|
podman = {
|
||||||
|
|||||||
Reference in New Issue
Block a user