diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-12-03 02:52:28 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-12-03 02:52:28 +0300 |
commit | cec9f7acd5e5e365563212c5144394f71dd90b27 (patch) | |
tree | 667b308a7241ab2e8f3fa4e2b53cc7888e876c68 /modules/nixos/emacs.nix | |
parent | 2023-11-29 (diff) |
2023-12-03
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/emacs.nix | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/modules/nixos/emacs.nix b/modules/nixos/emacs.nix index c851389..7d2112b 100644 --- a/modules/nixos/emacs.nix +++ b/modules/nixos/emacs.nix @@ -7,19 +7,15 @@ with lib; let cfg = config.nixfiles.modules.emacs; in { config = mkIf cfg.enable { - nixfiles.modules = { - common.xdg.defaultApplications.emacs = [ - "application/atom+xml" - "application/json" - "application/rss+xml" - "application/schema+json" - "application/xhtml+xml" - "application/xml" - "text/csv" - "text/plain" - ]; - - x11.enable = true; - }; + nixfiles.modules.common.xdg.defaultApplications.emacs = [ + "application/atom+xml" + "application/json" + "application/rss+xml" + "application/schema+json" + "application/xhtml+xml" + "application/xml" + "text/csv" + "text/plain" + ]; }; } |