From 8de0282b4b772097190d243e37294e51c74f8b1f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 13 May 2024 07:22:02 +0100 Subject: [PATCH] Add shell aliases for quickly interacting with nixos-upgrade service --- programs/shell/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/shell/default.nix b/programs/shell/default.nix index 93b7358..1f2ff39 100644 --- a/programs/shell/default.nix +++ b/programs/shell/default.nix @@ -173,6 +173,10 @@ ignoreDups = true; ignoreSpace = true; }; + shellAliases = { + nixos-upgrade = "systemctl start nixos-upgrade.service"; + nixos-status = "systemctl status nixos-upgrade.service"; + }; oh-my-zsh = { enable = true; plugins = ["colored-man-pages" "lol" "rand-quote"];