hosts/*: remove deprecated zfs.latestCompatiblePackages

This commit is contained in:
Infinidoge 2024-09-25 00:56:51 -04:00
parent 2ae0b91986
commit e1f0179e3b
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E
4 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { pkgs, lib, ... }:
with lib.our.disko; with lib.our.disko;
let let
inherit (builtins) mapAttrs; inherit (builtins) mapAttrs;
@ -6,7 +6,7 @@ let
mountOptions = defaultMountOptions; mountOptions = defaultMountOptions;
in in
{ {
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = pkgs.linuxPackages;
boot.zfs.extraPools = [ "zssd" "zhdd" ]; boot.zfs.extraPools = [ "zssd" "zhdd" ];

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: { { lib, config, pkgs, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./filesystems.nix ./filesystems.nix
@ -6,7 +6,7 @@
networking.hostId = "3275c7d3"; networking.hostId = "3275c7d3";
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = pkgs.linuxPackages;
hardware.infiniband = { hardware.infiniband = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: { { lib, config, pkgs, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./filesystems.nix ./filesystems.nix
@ -7,7 +7,7 @@
system.stateVersion = "24.11"; system.stateVersion = "24.11";
networking.hostId = "06a3f197"; networking.hostId = "06a3f197";
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = pkgs.linuxPackages;
modules = { modules = {
hardware = { hardware = {

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Use the latest Linux kernel # Use the latest Linux kernel
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
# Remove all default packages # Remove all default packages
environment.defaultPackages = lib.mkForce [ ]; environment.defaultPackages = lib.mkForce [ ];