mirror of
https://github.com/davegallant/nix-config
synced 2025-11-26 03:24:17 +00:00
Fix needsreboot activation script
This commit is contained in:
@@ -255,10 +255,8 @@
|
||||
needsreboot = {
|
||||
supportsDryActivation = true;
|
||||
text = ''
|
||||
if [[ -e /run/current-system ]]; then
|
||||
echo -e "\e[36mSystem changes requiring a reboot:\e[0m"
|
||||
${inputs.nixos-needsreboot.packages.${pkgs.system}.default}/bin/nixos-needsreboot --dry-run
|
||||
fi
|
||||
echo -e "\e[36mSystem changes requiring a reboot:\e[0m"
|
||||
${inputs.nixos-needsreboot.packages.${pkgs.system}.default}/bin/nixos-needsreboot --dry-run || true
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user