From 637e60f1e00c6fa82d125cb989c789d7ec2b356c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 3 Mar 2025 11:23:34 +0000 Subject: [PATCH] Enable all manual versions, open xhtml in browser --- system/default.nix | 5 +++++ system/mimeapps.nix | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/system/default.nix b/system/default.nix index 6fbcb8a3..7abb1abc 100644 --- a/system/default.nix +++ b/system/default.nix @@ -126,6 +126,11 @@ homeDirectory = "/home/${username}"; }; programs.home-manager.enable = true; + manual = { + html.enable = true; + json.enable = true; + manpages.enable = true; + }; fonts.fontconfig = { enable = true; defaultFonts = diff --git a/system/mimeapps.nix b/system/mimeapps.nix index c20f4e4c..e3e40884 100644 --- a/system/mimeapps.nix +++ b/system/mimeapps.nix @@ -20,6 +20,7 @@ in "text/css" = emacs; "text/tab-separated-values" = emacs; "text/html" = browser; + "text/xhtml" = browser; "text/x-emacs-lisp" = emacs; "text/x-fortran" = emacs; @@ -40,7 +41,7 @@ in "application/yaml" = emacs; "application/xml" = emacs; "application/rss+xml" = emacs; - "application/xhtml+xml" = emacs; + "application/xhtml+xml" = browser; "application/oxps" = emacs; "application/zip" = [ "org.gnome.FileRoller.desktop" ]; "application/pdf" = [ "org.gnome.Evince.desktop" ];