From def425a4d57c12ea3a1f870e4012f0b37be884b1 Mon Sep 17 00:00:00 2001 From: Andre-Philippe Paquet Date: Tue, 15 Oct 2024 10:53:44 -0400 Subject: [PATCH] sudo nixos boot rebuild --- x | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x b/x index eddd581..d01abbd 100755 --- a/x +++ b/x @@ -191,7 +191,9 @@ nixos) ;; boot) shift - nixos-rebuild boot --flake ".#${HOSTNAME}" 2>&1 | ${NOM_PIPE} + + prime_sudo + sudo nixos-rebuild boot --flake ".#${HOSTNAME}" 2>&1 | ${NOM_PIPE} ;; switch) shift @@ -314,7 +316,7 @@ gc) sudo ${ncg} -d --delete-older-than "14d" if [[ "$NIXOS" -eq 1 ]]; then - echo "Call x nixos boot to remove old generations from boot" + echo "⏩️ Call x nixos boot to remove old generations from boot" fi ;;