mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
fix nixos aliases, change email alias
This commit is contained in:
parent
b5a9a50b14
commit
e2608809ec
2 changed files with 6 additions and 5 deletions
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue