aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower/default.nix
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-08-21 20:31:07 +0200
committerIsabella Bastaja <isabella@sorre.xyz>2026-08-21 20:31:15 +0200
commit7077eb716210125e29403a84e123da4a0ab089e5 (patch)
tree3163ff461ee70e40e323dcf9d78cbfe207826166 /hosts/tower/default.nix
parent6d0ae77a9a6cd42fb43c3bb5a400cdae124ab78d (diff)
tower: add rebuild alias
Diffstat (limited to 'hosts/tower/default.nix')
-rw-r--r--hosts/tower/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/hosts/tower/default.nix b/hosts/tower/default.nix
index 0cc56f5..55bbb01 100644
--- a/hosts/tower/default.nix
+++ b/hosts/tower/default.nix
@@ -48,10 +48,15 @@
};
};
- environment.systemPackages = [
- pkgs.git
- pkgs.helix
- ];
+ environment = {
+ systemPackages = [
+ pkgs.git
+ pkgs.helix
+ ];
+ aliases = {
+ rb = "cd /home/isabella/nixos-config && git pull --rebase && sudo nixos-rebuild switch --flake";
+ };
+ };
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions