feat: remove bootloader and move it into the hosts directly. also remove openrgb

This commit is contained in:
Ahwx 2025-02-13 11:24:33 +01:00
parent 07b52feb4c
commit 3693929c5b
4 changed files with 14 additions and 5 deletions

View file

@ -34,6 +34,12 @@
boot = {
kernelParams = [ "mem_sleep_default=deep" "acpi_osi=\"!Windows 2020\"" ];
kernelModules = ["acpi_call"];
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
extraModulePackages = with config.boot.kernelPackages;
[
acpi_call

View file

@ -26,11 +26,17 @@
boot = {
kernelParams = [ ];
kernelModules = ["acpi_call"];
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
extraModulePackages = with config.boot.kernelPackages;
[
acpi_call
cpupower
]
++ [pkgs.cpupower-gui];
};
};
}

View file

@ -1,12 +1,10 @@
{ ... }:
{
imports =
[(import ./bootloader.nix)]
++ [(import ./docker.nix)]
[(import ./docker.nix)]
++ [(import ./hardware.nix)]
++ [(import ./displaylink.nix)]
# ++ [(import ./printing.nix)]
# ++ [(import ./openrgb.nix)]
++ [(import ./xserver.nix)]
++ [(import ./network.nix)]
++ [(import ./pipewire.nix)]

View file

@ -1,7 +1,6 @@
{ ... }:
{
imports =
# [(import ./bootloader.nix)]
[(import ./hardware.nix)]
++ [(import ./network.nix)]
++ [(import ./program.nix)]