From c01d74dde1b8c35e5c55c0dcf7ee380cdeb1195a Mon Sep 17 00:00:00 2001 From: Steph Date: Tue, 10 Dec 2024 15:05:15 +0100 Subject: [PATCH] update --- programs/bash.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/bash.nix b/programs/bash.nix index d1bcccf..c39e00e 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -46,6 +46,7 @@ tolower = "tr [:upper:] [:lower:]"; rebuild = if (os == "linux") then '' cd $HOME/.local/os && + git pull && nix flake update --commit-lock-file && nixos-rebuild switch --flake "path:$HOME/.local/os#" --use-remote-sudo && git add . && @@ -54,6 +55,7 @@ cd - '' else '' cd $HOME/.local/os && + git pull && nix flake update --commit-lock-file && home-manager switch && git add . &&