mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
Add command to rebuild system without switching profiles.
This commit is contained in:
parent
e370ae3a16
commit
bb73f7cacf
2 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ in
|
||||||
|
|
||||||
programs.zsh.shellAliases = mkIf stdenv.isDarwin ({
|
programs.zsh.shellAliases = mkIf stdenv.isDarwin ({
|
||||||
drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
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)\"";
|
f = "open \"$(${config.programs.fzf.package}/bin/fzf)\"";
|
||||||
o = "open";
|
o = "open";
|
||||||
oa = "open -a";
|
oa = "open -a";
|
||||||
|
|
|
@ -184,6 +184,7 @@
|
||||||
l = "ls -1";
|
l = "ls -1";
|
||||||
np = "nix-shell -p";
|
np = "nix-shell -p";
|
||||||
nrs = lib.mkIf pkgs.stdenv.isLinux "sudo nixos-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
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}";
|
org = "z ${config.home.sessionVariables.ORGDIR}";
|
||||||
ubc = "z ${config.home.sessionVariables.UBCDIR}";
|
ubc = "z ${config.home.sessionVariables.UBCDIR}";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue