mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: remove bootloader and move it into the hosts directly. also remove openrgb
This commit is contained in:
parent
07b52feb4c
commit
3693929c5b
4 changed files with 14 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports =
|
||||
# [(import ./bootloader.nix)]
|
||||
[(import ./hardware.nix)]
|
||||
++ [(import ./network.nix)]
|
||||
++ [(import ./program.nix)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue