summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-08-22 14:04:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-08-22 14:04:23 +0200
commit8ce715e40280eb658d99ada2b8a34ead7f5e1278 (patch)
treeeef8c3dbbc84cb62216e7bd027cbb3a60894c529 /accounts/gkleen@sif
parent650e70a1a78beb5ed80d11d21c3f0d1f0a6a6378 (diff)
downloadnixos-8ce715e40280eb658d99ada2b8a34ead7f5e1278.tar
nixos-8ce715e40280eb658d99ada2b8a34ead7f5e1278.tar.gz
nixos-8ce715e40280eb658d99ada2b8a34ead7f5e1278.tar.bz2
nixos-8ce715e40280eb658d99ada2b8a34ead7f5e1278.tar.xz
nixos-8ce715e40280eb658d99ada2b8a34ead7f5e1278.zip
...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r--accounts/gkleen@sif/default.nix16
-rw-r--r--accounts/gkleen@sif/emacs.el2
2 files changed, 18 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 615b783d..d3db91c8 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -396,6 +396,22 @@ in {
396 }; 396 };
397 }; 397 };
398 398
399 xdg.mimeApps = {
400 enable = true;
401 defaultApplications = let
402 filters = {
403 };
404 filter = n: v: (filters.${n} or lib.id) (lib.filter (d: d != "emacs.desktop") v);
405 in lib.mapAttrs filter (cfg.lib.xdg.mimeAssociations [
406 cfg.programs.zathura.package
407 pkgs.sxiv
408 cfg.programs.emacs.package
409 cfg.programs.firefox.package
410 ]) // {
411 "x-scheme-handler/mailto" = "thunderbird.desktop";
412 };
413 };
414
399 fonts.fontconfig.enable = true; 415 fonts.fontconfig.enable = true;
400 416
401 systemd.user = import ./systemd.nix inputs; 417 systemd.user = import ./systemd.nix inputs;
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el
index 48479532..b7567293 100644
--- a/accounts/gkleen@sif/emacs.el
+++ b/accounts/gkleen@sif/emacs.el
@@ -150,6 +150,8 @@
150 150
151(setq auth-sources '()) 151(setq auth-sources '())
152 152
153(setq ring-bell-function 'ignore)
154
153(setq-default indicate-empty-lines t) 155(setq-default indicate-empty-lines t)
154(setq-default show-trailing-whitespace t) 156(setq-default show-trailing-whitespace t)
155 157