From d45360093af8dd13a9e4d03385b5826f718c46b7 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Wed, 13 Nov 2024 18:02:28 +0100 Subject: [PATCH] Adapt NixOS configurations to new kernel package parameters --- nixos/config/muon.nix | 6 +----- nixos/config/solitary/configuration.nix | 5 ++--- nixos/module/magi.nix | 3 +-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/nixos/config/muon.nix b/nixos/config/muon.nix index 1512ec3..fff71f3 100644 --- a/nixos/config/muon.nix +++ b/nixos/config/muon.nix @@ -49,12 +49,8 @@ imports = [ "nvidia/ga107/gsp/gsp-535.113.01.bin" ]; - profiles = { - physical = true; - portable = true; + extraProfiles = { dm-crypt = true; - wireless = true; - audio = true; }; extraConfig = with linux-hardened.lib.kernel; { diff --git a/nixos/config/solitary/configuration.nix b/nixos/config/solitary/configuration.nix index 00896b8..8223d03 100644 --- a/nixos/config/solitary/configuration.nix +++ b/nixos/config/solitary/configuration.nix @@ -40,10 +40,9 @@ in { ]; boot.kernelPackages = let - inherit (linux-hardened.packages.x86_64-linux) default; - in pkgs.linuxPackagesFor (default.override { + inherit (linux-hardened.packages.x86_64-linux) paravirt; + in pkgs.linuxPackagesFor (paravirt.override { instSetArch = "x86-64-v3"; - profiles = { paravirt = true; }; extraConfig = with linux-hardened.lib.kernel; { NR_CPUS = 8; diff --git a/nixos/module/magi.nix b/nixos/module/magi.nix index 5ede7b0..4c8e126 100644 --- a/nixos/module/magi.nix +++ b/nixos/module/magi.nix @@ -18,8 +18,7 @@ boot.kernelPackages = let inherit (linux-hardened.packages.x86_64-linux) supermicro-h11ssw; in pkgs.linuxPackagesFor (supermicro-h11ssw.override { - profiles = { - physical = true; + extraProfiles = { dm-crypt = true; };