diff options
| author | coast <coasteen@proton.me> | 2026-09-24 11:09:39 +0330 |
|---|---|---|
| committer | coast <coasteen@proton.me> | 2026-09-24 11:09:39 +0330 |
| commit | 30ffc7cf394a9503771ea32b0a9e1fe41b155198 (patch) | |
| tree | 1a05aabbabe620b1f30d8384af7df9d39e9f2e9b | |
| parent | 5a283a9f5f3a634d1c6c11298fab4150cad01e1d (diff) | |
| download | nix-30ffc7cf394a9503771ea32b0a9e1fe41b155198.tar.gz nix-30ffc7cf394a9503771ea32b0a9e1fe41b155198.tar.bz2 nix-30ffc7cf394a9503771ea32b0a9e1fe41b155198.tar.xz nix-30ffc7cf394a9503771ea32b0a9e1fe41b155198.tar.zst | |
move boot config back to hardware.nix
| -rw-r--r-- | configuration/hardware.nix | 3 | ||||
| -rw-r--r-- | flake.nix | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/configuration/hardware.nix b/configuration/hardware.nix index 1747d96..e6ee7dc 100644 --- a/configuration/hardware.nix +++ b/configuration/hardware.nix @@ -1,4 +1,4 @@ -{ config, lib, modulesPath, ... }: +{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -8,6 +8,7 @@ kernelParams = [ "kvm-amd" "snd_hda_intel.probe_mask=1" ]; extraModulePackages = [ ]; }; + boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest; fileSystems = { "/" = { device = "UUID=721879c7-fed3-458d-bace-6a7e0a4f96b4"; @@ -31,8 +31,6 @@ inputs.nix-cachyos-kernel.overlays.pinned ]; - boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest; - home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.coast = |
