From c2695ea6737604a1138e6019c863ace838475502 Mon Sep 17 00:00:00 2001 From: Zephrynis Date: Sun, 26 Oct 2025 22:59:53 +0000 Subject: [PATCH] Add update-laptop shell alias Introduced a new shell alias 'update-laptop' to automate updating the laptop's Nix flake configuration and rebuilding the system. --- home/home.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/home.nix b/home/home.nix index 682c366..91aadbf 100644 --- a/home/home.nix +++ b/home/home.nix @@ -90,6 +90,7 @@ shellAliases = { ll = "ls -la"; update = "sudo nixos-rebuild switch --flake .#my-machine"; + update-laptop = "cd /home/zeph/nix-flake && git reset --hard origin/main && git pull && nix flake update && sudo nixos-rebuild switch --flake .#laptop"; }; };