mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
game-laptop -> game-desktop
This commit is contained in:
parent
849c21761f
commit
d24efeba64
15 changed files with 105 additions and 103 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue