forked from poz/niksos
move systemd-boot to options
This commit is contained in:
parent
5cbda435c9
commit
0d77b0d6a5
5 changed files with 12 additions and 14 deletions
|
@ -16,13 +16,6 @@
|
|||
};
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
memtest86.enable = true;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
../../options/boot/systemd-boot.nix
|
||||
../../options/common/docs.nix
|
||||
../../options/common/oomd.nix
|
||||
../../options/common/pin-registry.nix
|
||||
|
|
|
@ -21,13 +21,6 @@
|
|||
};
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
memtest86.enable = true;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
|
||||
kernelModules = [ "ddcci" ];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
../../options/boot/systemd-boot.nix
|
||||
../../options/common/cpu/amd.nix
|
||||
../../options/common/docs.nix
|
||||
../../options/common/gpu/amd.nix
|
||||
|
|
10
options/boot/systemd-boot.nix
Normal file
10
options/boot/systemd-boot.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
_: {
|
||||
boot.loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
memtest86.enable = true;
|
||||
editor = false;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue