mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +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;
|
||||
appCommands = {
|
||||
calibre = "Calibre";
|
||||
email = "Mail";
|
||||
ical = "Calendar";
|
||||
im = "Messages";
|
||||
maps = "Maps";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue