base: Finally, some emacs on darwin (and some other stuff I guess)
This commit is contained in:
parent
5467282626
commit
15586a8f7c
81 changed files with 469 additions and 417 deletions
|
@ -1,20 +1,5 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
chvp.base = {
|
||||
emacs.extraConfig = [
|
||||
''
|
||||
;; Nix syntax support
|
||||
(use-package nix-mode
|
||||
:mode "\\.nix\\'"
|
||||
)
|
||||
''
|
||||
] ++ lib.optional config.chvp.base.nix.enableDirenv ''
|
||||
;; Direnv integration in emacs.
|
||||
(use-package direnv
|
||||
:config (direnv-mode)
|
||||
)
|
||||
'';
|
||||
};
|
||||
nix.gc.dates = if config.chvp.base.nix.slowGc then "daily" else "hourly";
|
||||
programs.command-not-found.enable = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue