mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
rebuild alias for nixos
This commit is contained in:
parent
c7eb6e933b
commit
ba3133b50d
2 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@ in
|
|||
};
|
||||
|
||||
programs.zsh.shellAliases = mkIf stdenv.isDarwin ({
|
||||
drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||
o = "open";
|
||||
oa = "open -a";
|
||||
pinentry = "pinentry-mac";
|
||||
|
|
|
@ -143,13 +143,13 @@
|
|||
|
||||
shellAliases = {
|
||||
cd = "z";
|
||||
drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||
e = "emacsclient -c -nw";
|
||||
em = "emacs -nw";
|
||||
emw = "emacs";
|
||||
ew = "emacsclient -c";
|
||||
l = "ls -1";
|
||||
np = "nix-shell -p";
|
||||
nrs = lib.optionals pkgs.stdenv.isLinux "sudo nixos-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||
org = "z ${config.home.sessionVariables.ORGDIR}";
|
||||
ubc = "z ${config.home.sessionVariables.UBCDIR}";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue