From 6069da2e1d698cdce9e32810a62014f8471a7713 Mon Sep 17 00:00:00 2001 From: Bun Date: Fri, 4 Apr 2025 04:25:26 -0400 Subject: [PATCH] Literally never trust nixos to do anything automatically ever again please --- hosts/kitty/boot/default.nix | 2 +- hosts/kitty/hardware/default.nix | 6 ++---- hosts/kitty/users/luna/default.nix | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hosts/kitty/boot/default.nix b/hosts/kitty/boot/default.nix index d67ce466..e21b5c06 100644 --- a/hosts/kitty/boot/default.nix +++ b/hosts/kitty/boot/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { boot = { - kernelPackages = pkgs.linuxPackages_5_15_hardened; + kernelPackages = pkgs.linuxPackages_hardened; loader.systemd-boot.enable = true; }; } diff --git a/hosts/kitty/hardware/default.nix b/hosts/kitty/hardware/default.nix index 15da16bc..c59dca9f 100644 --- a/hosts/kitty/hardware/default.nix +++ b/hosts/kitty/hardware/default.nix @@ -1,8 +1,6 @@ -{ config, lib, modulesPath, ... }: +{ config, lib, ... }: { - imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ]; diff --git a/hosts/kitty/users/luna/default.nix b/hosts/kitty/users/luna/default.nix index d98d121c..d8a23c2e 100644 --- a/hosts/kitty/users/luna/default.nix +++ b/hosts/kitty/users/luna/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { users.users."luna" = { isNormalUser = true;