mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +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 ({
|
programs.zsh.shellAliases = mkIf stdenv.isDarwin ({
|
||||||
|
drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||||
o = "open";
|
o = "open";
|
||||||
oa = "open -a";
|
oa = "open -a";
|
||||||
pinentry = "pinentry-mac";
|
pinentry = "pinentry-mac";
|
||||||
|
|
|
@ -143,13 +143,13 @@
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cd = "z";
|
cd = "z";
|
||||||
drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
|
||||||
e = "emacsclient -c -nw";
|
e = "emacsclient -c -nw";
|
||||||
em = "emacs -nw";
|
em = "emacs -nw";
|
||||||
emw = "emacs";
|
emw = "emacs";
|
||||||
ew = "emacsclient -c";
|
ew = "emacsclient -c";
|
||||||
l = "ls -1";
|
l = "ls -1";
|
||||||
np = "nix-shell -p";
|
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}";
|
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