diff --git a/home/darwin.nix b/home/darwin.nix index 3aee38f..03f0b85 100644 --- a/home/darwin.nix +++ b/home/darwin.nix @@ -5,7 +5,6 @@ let inherit (pkgs) stdenv; appCommands = { calibre = "Calibre"; - email = "Mail"; ical = "Calendar"; im = "Messages"; maps = "Maps"; diff --git a/home/programs.nix b/home/programs.nix index 100643f..02d7890 100644 --- a/home/programs.nix +++ b/home/programs.nix @@ -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;