diff --git a/home/darwin.nix b/home/darwin.nix index 17efefa..cae2283 100644 --- a/home/darwin.nix +++ b/home/darwin.nix @@ -39,6 +39,7 @@ in programs.zsh.shellAliases = mkIf stdenv.isDarwin ({ drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#"; + dbs = "darwin-rebuild build --flake ${config.home.homeDirectory}/.config/dotfiles.nix#"; f = "open \"$(${config.programs.fzf.package}/bin/fzf)\""; o = "open"; oa = "open -a"; diff --git a/home/programs.nix b/home/programs.nix index 0463a43..389b328 100644 --- a/home/programs.nix +++ b/home/programs.nix @@ -184,6 +184,7 @@ l = "ls -1"; np = "nix-shell -p"; nrs = lib.mkIf pkgs.stdenv.isLinux "sudo nixos-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#"; + nbs = lib.mkIf pkgs.stdenv.isLinux "sudo nixos-rebuild build --flake ${config.home.homeDirectory}/.config/dotfiles.nix#"; org = "z ${config.home.sessionVariables.ORGDIR}"; ubc = "z ${config.home.sessionVariables.UBCDIR}"; };