summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
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