From 4b6fcdaaedd86789e8212ca2af378f8ab1d27317 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 6 Oct 2019 00:19:35 +0200 Subject: Add shell aliases for common development and administration tasks --- user/modules/nixos.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'user/modules/nixos.nix') diff --git a/user/modules/nixos.nix b/user/modules/nixos.nix index 0df5817b..64b523b8 100644 --- a/user/modules/nixos.nix +++ b/user/modules/nixos.nix @@ -11,4 +11,11 @@ }; }) ]; + + programs.zsh.shellAliases = { + nor = "nixos-rebuild"; + nors = "nixos-rebuild switch"; + norb = "nixos-rebuild boot"; + norr = "nixos-rebuild switch --rollback"; + }; } -- cgit 1.4.1