game-laptop -> game-desktop

This commit is contained in:
Gerg-L 2023-10-12 20:35:39 -04:00
parent 849c21761f
commit d24efeba64
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
15 changed files with 105 additions and 103 deletions

View file

@ -101,8 +101,7 @@ let
if cfg.mirroredBoots != [ ] then
cfg.mirroredBoots
else
[ efi.efiSysMountPoint ]
;
[ efi.efiSysMountPoint ];
in
pkgs.writeShellScript "install-systemd-boot.sh" (
lib.concatMapStrings
@ -111,8 +110,7 @@ let
'')
installDirs
)
+ cfg.extraInstallCommands
;
+ cfg.extraInstallCommands;
in
{
disabledModules = [
@ -324,12 +322,14 @@ in
config = mkIf cfg.enable {
assertions =
[ {
assertion =
(config.boot.kernelPackages.kernel.features or { efiBootStub = true; })
? efiBootStub;
message = "This kernel does not support the EFI boot stub";
} ]
[
{
assertion =
(config.boot.kernelPackages.kernel.features or { efiBootStub = true; })
? efiBootStub;
message = "This kernel does not support the EFI boot stub";
}
]
++ concatMap
(filename: [
{
@ -368,8 +368,7 @@ in
} is invalid: files cannot be placed in the nixos/.extra-files directory";
}
])
(builtins.attrNames cfg.extraFiles)
;
(builtins.attrNames cfg.extraFiles);
boot.loader.grub.enable = mkDefault false;