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; inherit (pkgs) stdenv;
appCommands = { appCommands = {
calibre = "Calibre"; calibre = "Calibre";
email = "Mail";
ical = "Calendar"; ical = "Calendar";
im = "Messages"; im = "Messages";
maps = "Maps"; maps = "Maps";

View file

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