From a266621e1c88eef58274ae709d790f4b09a9a253 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 9 Aug 2024 10:11:45 +0200 Subject: [PATCH] Add bash aliases --- configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration.nix b/configuration.nix index bd23263..9673553 100644 --- a/configuration.nix +++ b/configuration.nix @@ -81,6 +81,10 @@ }; qemuGuest.enable = true; }; + + programs.bash.shellAliases = { + update = "sudo cd /etc/nixos && git pull && nixos-rebuild switch"; +}; # leave installation default system.stateVersion = "24.05"; # Did you read the comment?