Fix typo
This commit is contained in:
parent
1818cb6c5b
commit
f311801075
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ in {
|
||||||
lib.mkIf cfg.updateFlake
|
lib.mkIf cfg.updateFlake
|
||||||
(lib.getExe updateScript);
|
(lib.getExe updateScript);
|
||||||
|
|
||||||
nios-upgrade-failure = lib.mkIf cfg.failureNotification.enable {
|
nixos-upgrade-failure = lib.mkIf cfg.failureNotification.enable {
|
||||||
path = with pkgs; ["/run/wrappers" "/run/current-system/sw" curl];
|
path = with pkgs; ["/run/wrappers" "/run/current-system/sw" curl];
|
||||||
script = ''
|
script = ''
|
||||||
journalctl _SYSTEMD_INVOCATION_ID=`systemctl show --value -p InvocationID nixos-upgrade.service` > /tmp/upgrade-failure.txt
|
journalctl _SYSTEMD_INVOCATION_ID=`systemctl show --value -p InvocationID nixos-upgrade.service` > /tmp/upgrade-failure.txt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue