From bc5b72d087424cefcf5ba1680632497672e3c4fc Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Wed, 20 Nov 2024 13:06:20 +0100 Subject: [PATCH] Added clone-dotfiles to rebuild alias --- pkgs/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/zsh.nix b/pkgs/zsh.nix index c806526..fa28fde 100644 --- a/pkgs/zsh.nix +++ b/pkgs/zsh.nix @@ -12,7 +12,7 @@ shellAliases = { clone-dotfiles = "cp /home/horseman/nix-config/config/dotfiles/.\* /home/horseman/"; - rebuild = "sudo nixos-rebuild switch --flake"; + rebuild = "clone-dotfiles && sudo nixos-rebuild switch --flake"; update = "sudo nix flake update && rebuild"; compose = "sudo docker compose"; wolpc = "wakeonlan D8:5E:D3:A8:B1:0A";