mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-22 13:22:10 +03:00
Merge pull request #42 from serokell/notgne2/fix-systemd-boot-entry
Remove default loader entry on NixOS activation
This commit is contained in:
commit
bcdf7b8966
@ -80,7 +80,14 @@
|
||||
];
|
||||
};
|
||||
|
||||
nixos = base: custom base.config.system.build.toplevel "$PROFILE/bin/switch-to-configuration switch";
|
||||
nixos = base: custom base.config.system.build.toplevel ''
|
||||
$PROFILE/bin/switch-to-configuration switch
|
||||
|
||||
# https://github.com/serokell/deploy-rs/issues/31
|
||||
${with base.config.boot.loader;
|
||||
pkgs.lib.optionalString systemd-boot.enable
|
||||
"sed -i '/^default /d' ${efi.efiSysMountPoint}/loader/loader.conf"}
|
||||
'';
|
||||
|
||||
noop = base: custom base ":";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user