Nix store gc and Emacs as systemd service
This commit is contained in:
parent
1da0bea837
commit
d0c42a5b7f
6 changed files with 33 additions and 9 deletions
|
@ -11,6 +11,10 @@
|
|||
package = pkgs.customEmacs;
|
||||
};
|
||||
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# For some reason Hunspell dictionaries paths must be specified on Darwin
|
||||
home.sessionVariables =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then {
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
'';
|
||||
in
|
||||
lib.mkOptionDefault {
|
||||
"${modifier}+x" = "exec emacs";
|
||||
"${modifier}+x" = "exec emacsclient -c";
|
||||
"${modifier}+b" = "exec firefox";
|
||||
"${modifier}+s" = "exec ${screenshotScript}";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue