fix nixos aliases, change email alias

This commit is contained in:
willemml 2023-03-12 16:25:33 -07:00
parent b5a9a50b14
commit e2608809ec
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
2 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,6 @@ let
inherit (pkgs) stdenv;
appCommands = {
calibre = "Calibre";
email = "Mail";
ical = "Calendar";
im = "Messages";
maps = "Maps";

View file

@ -173,6 +173,7 @@
dotd = "cd ${config.home.sessionVariables.DOTDIR} ";
e = "emacsclient -c -nw";
em = "emacs -nw";
email = "${ew} -n --eval '(mu4e)'";
emw = "emacs";
ew = "emacsclient -c";
l = "ls -1";
@ -180,11 +181,12 @@
org = "cd ${config.home.sessionVariables.ORGDIR} ";
spotify = "${web} https://open.spotify.com/";
ubc = "cd ${config.home.sessionVariables.UBCDIR} ";
ubcmail = "${web} https://webmail.student.ubc.ca";
web = "${config.programs.firefox.package}/bin/firefox";
}; #// lib.optionals pkgs.stdenv.isLinux {
#nbs = "sudo nixos-rebuild build --flake ${config.home.sessionVariables.DOTDIR}#";
# nrs = "sudo nixos-rebuild switch --flake ${config.home.sessionVariables.DOTDIR}#";
#};
} // (if pkgs.stdenv.isLinux then {
nbs = "sudo nixos-rebuild build --flake ${config.home.sessionVariables.DOTDIR}#";
nrs = "sudo nixos-rebuild switch --flake ${config.home.sessionVariables.DOTDIR}#";
} else { });
};
home-manager.enable = true;