remove zonemindere and zdd zfs to bolty
This commit is contained in:
parent
9557c9085f
commit
84e5f7b675
3 changed files with 7 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }: {
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
initrd.availableKernelModules =
|
||||
[ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi" ];
|
||||
initrd.kernelModules = [ "dm-snapshot" ];
|
||||
|
@ -8,9 +8,14 @@
|
|||
extraModulePackages = [ ];
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = false;
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
zfs.forceImportRoot = false;
|
||||
};
|
||||
|
||||
services.btrfs.autoScrub.enable = true;
|
||||
services.zfs.autoScrub.enable = true;
|
||||
boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ];
|
||||
|
||||
fileSystems."/data" = {
|
||||
device = "/dev/disk/by-uuid/78e8e5b5-9068-4381-8e85-b4297607f9ea";
|
||||
fsType = "btrfs";
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
programs.ccache.enable = true;
|
||||
networking.hostName = "bolty";
|
||||
networking.hostId = "f05dd3b4";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
|
|
|
@ -1,12 +1,2 @@
|
|||
{ config, pkgs, inputs, lib, ... }: {
|
||||
services.zoneminder = {
|
||||
enable = true;
|
||||
storageDir = "/data/zoneminder";
|
||||
openFirewall = true;
|
||||
cameras = 5;
|
||||
database = {
|
||||
createLocally = true;
|
||||
username = "zoneminder";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue