moved zfs kernelPackages to global default.nix

This commit is contained in:
2024-09-15 12:56:48 -04:00
parent f1c4fc6e43
commit 71ad29b6a1
2 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
{ {
config,
lib, lib,
inputs, inputs,
outputs, outputs,
@@ -17,6 +18,8 @@
./ssh.nix ./ssh.nix
]; ];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
security.auditd.enable = lib.mkDefault true; security.auditd.enable = lib.mkDefault true;
programs = { programs = {

View File

@@ -18,14 +18,11 @@ in
./services.nix ./services.nix
]; ];
boot = { boot.zfs.extraPools = [
zfs.extraPools = [ "media"
"media" "storage"
"storage" "torrenting"
"torrenting" ];
];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
};
services = { services = {
openssh.ports = [ 629 ]; openssh.ports = [ 629 ];