From 71ad29b6a15e95182aa4af93da0baffa6f335e0a Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 15 Sep 2024 12:56:48 -0400 Subject: [PATCH] moved zfs kernelPackages to global default.nix --- systems/common/global/default.nix | 3 +++ systems/jeeves/default.nix | 13 +++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/systems/common/global/default.nix b/systems/common/global/default.nix index 3cd16d1..bfafb38 100644 --- a/systems/common/global/default.nix +++ b/systems/common/global/default.nix @@ -1,4 +1,5 @@ { + config, lib, inputs, outputs, @@ -17,6 +18,8 @@ ./ssh.nix ]; + kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + security.auditd.enable = lib.mkDefault true; programs = { diff --git a/systems/jeeves/default.nix b/systems/jeeves/default.nix index d7c6fcc..fc6de30 100644 --- a/systems/jeeves/default.nix +++ b/systems/jeeves/default.nix @@ -18,14 +18,11 @@ in ./services.nix ]; - boot = { - zfs.extraPools = [ - "media" - "storage" - "torrenting" - ]; - kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; - }; + boot.zfs.extraPools = [ + "media" + "storage" + "torrenting" + ]; services = { openssh.ports = [ 629 ];