move systemd-boot to options

This commit is contained in:
jacekpoz 2024-02-29 00:44:30 +01:00
parent 5cbda435c9
commit 0d77b0d6a5
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
5 changed files with 12 additions and 14 deletions

View file

@ -16,13 +16,6 @@
}; };
boot = { boot = {
loader = {
systemd-boot = {
enable = true;
memtest86.enable = true;
};
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxPackages_xanmod_latest; kernelPackages = pkgs.linuxPackages_xanmod_latest;
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
kernelModules = [ "v4l2loopback" ]; kernelModules = [ "v4l2loopback" ];

View file

@ -1,5 +1,6 @@
_: { _: {
imports = [ imports = [
../../options/boot/systemd-boot.nix
../../options/common/docs.nix ../../options/common/docs.nix
../../options/common/oomd.nix ../../options/common/oomd.nix
../../options/common/pin-registry.nix ../../options/common/pin-registry.nix

View file

@ -21,13 +21,6 @@
}; };
boot = { boot = {
loader = {
systemd-boot = {
enable = true;
memtest86.enable = true;
};
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxPackages_xanmod_latest; kernelPackages = pkgs.linuxPackages_xanmod_latest;
extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ]; extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
kernelModules = [ "ddcci" ]; kernelModules = [ "ddcci" ];

View file

@ -1,5 +1,6 @@
_: { _: {
imports = [ imports = [
../../options/boot/systemd-boot.nix
../../options/common/cpu/amd.nix ../../options/common/cpu/amd.nix
../../options/common/docs.nix ../../options/common/docs.nix
../../options/common/gpu/amd.nix ../../options/common/gpu/amd.nix

View file

@ -0,0 +1,10 @@
_: {
boot.loader = {
systemd-boot = {
enable = true;
memtest86.enable = true;
editor = false;
};
efi.canTouchEfiVariables = true;
};
}