From eb16e67c7202d5b694714ed58c20fce651a58a7c Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 15 Sep 2024 12:28:09 -0400 Subject: [PATCH] added zfs kernelPackages restriction --- systems/jeeves/default.nix | 16 +++++++++------- users/richie/home/ssh_config.nix | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/systems/jeeves/default.nix b/systems/jeeves/default.nix index f38460e..d7c6fcc 100644 --- a/systems/jeeves/default.nix +++ b/systems/jeeves/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: let vars = import ./vars.nix; in @@ -18,12 +18,14 @@ in ./services.nix ]; - boot.zfs.extraPools = [ - "media" - "storage" - "torrenting" - ]; - + boot = { + zfs.extraPools = [ + "media" + "storage" + "torrenting" + ]; + kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + }; services = { openssh.ports = [ 629 ]; diff --git a/users/richie/home/ssh_config.nix b/users/richie/home/ssh_config.nix index 6619007..a2218ed 100644 --- a/users/richie/home/ssh_config.nix +++ b/users/richie/home/ssh_config.nix @@ -11,7 +11,7 @@ dynamicForwards = [ { port = 9050; } ]; }; unlock-jeeves = { - hostname = "192.168.90.14"; + hostname = "192.168.95.14"; user = "root"; identityFile = "~/.ssh/id_ed25519"; port = 2222;