summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock2
-rw-r--r--modules/default-user.nix6
-rw-r--r--modules/desktop-environment.nix2
-rw-r--r--modules/emacs/README.org5
4 files changed, 10 insertions, 5 deletions
diff --git a/flake.lock b/flake.lock
index f7ab863..fcbf6bd 100644
--- a/flake.lock
+++ b/flake.lock
@@ -179,7 +179,7 @@
"narHash": "sha256-p7Rrk0BSYNBvkQ5fidkUvbM/TnA15g/7ldLa/r59NkI=",
"ref": "refs/heads/master",
"rev": "0b77b4f2cb1fd0ec3df9592b04c914d1a98b337b",
- "revCount": 65737,
+ "revCount": 65861,
"type": "git",
"url": "ssh://[email protected]/mixrank/mixrank"
},
diff --git a/modules/default-user.nix b/modules/default-user.nix
index 53cef7d..9caa454 100644
--- a/modules/default-user.nix
+++ b/modules/default-user.nix
@@ -46,9 +46,11 @@ in {
mail-cfg = map (n: {name = n; value = with-perms n;}) mails;
in
listToAttrs mail-cfg))
- // (optionalAttrs cfg.services.ddns.enable ({
+ // (optionalAttrs cfg.services.ddns.enable {
cloudflare = with-perms "cloudflare";
- }));
+ }) // (optionalAttrs cfg.emacs.enable {
+ authinfo = with-perms "authinfo";
+ });
programs.ssh.startAgent = true;
services.openssh = {
enable = true;
diff --git a/modules/desktop-environment.nix b/modules/desktop-environment.nix
index c9408d9..14dd7d6 100644
--- a/modules/desktop-environment.nix
+++ b/modules/desktop-environment.nix
@@ -12,7 +12,7 @@
basic.enable = true;
};
- services.printing.enable = true;
+ services.printing.enable = false; # disabled until CUPS CVE is fixed
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
diff --git a/modules/emacs/README.org b/modules/emacs/README.org
index 2d2acc9..cb7c4da 100644
--- a/modules/emacs/README.org
+++ b/modules/emacs/README.org
@@ -31,7 +31,7 @@ You can also use it as a ~nixosModule~, in order to add additional packages like
#+begin_src emacs-lisp :tangle yes
(use-package modus-themes)
;; (use-package kanagawa-theme)
-(load-theme 'tango t)
+(load-theme 'wheatgrass t)
(add-hook 'after-make-frame-functions
(lambda (frame)
@@ -394,8 +394,10 @@ Actual mu4e definition
#+begin_src emacs-lisp :tangle yes
(use-package mu4e
:bind ("C-c m" . mu4e)
+ :config
:custom
(read-mail-command 'mu4e)
+ (mu4e-sent-messages-behavior 'delete)
(mu4e-index-cleanup nil)
(mu4e-index-lazy-check t)
(mu4e-use-fancy-chars (display-graphic-p))
@@ -431,6 +433,7 @@ Actual mu4e definition
((university-p msg) "/university/[Gmail]/Lixeira")
((work-p msg) "/work/[Gmail]/Trash"))))
:config
+ (add-hook 'mu4e-compose-mode-hook #'(lambda () (auto-save-mode -1)))
(add-to-list 'display-buffer-alist
`( ,(regexp-quote mu4e-main-buffer-name)
display-buffer-same-window)) ; to avoid opening in full frame everytime.