diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-26 17:26:03 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-26 17:26:03 +0530 |
| commit | ce6ff95820ba0e3b24bfec96e9e17cf0a8850eb4 (patch) | |
| tree | 267afb4727f30f2604bce3c107bbac7009d8bdbe /nixos/apps.nix | |
| parent | bb0e9d1426f3e7433a9e10c984e4f950e6a14932 (diff) | |
Diffstat (limited to 'nixos/apps.nix')
| -rw-r--r-- | nixos/apps.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixos/apps.nix b/nixos/apps.nix index 2c70c50..67e76ec 100644 --- a/nixos/apps.nix +++ b/nixos/apps.nix @@ -42,6 +42,34 @@ programs.thunderbird.enable = true; + + xdg.mime = let + value = "librewolf.desktop"; + + associations = { + } // builtins.listToAttrs (map (name: { + inherit name value; + }) [ + "application/x-extension-shtml" + "application/x-extension-xhtml" + "application/x-extension-html" + "application/x-extension-xht" + "application/x-extension-htm" + "x-scheme-handler/unknown" + "x-scheme-handler/mailto" + "x-scheme-handler/chrome" + "x-scheme-handler/about" + "x-scheme-handler/https" + "x-scheme-handler/http" + "application/xhtml+xml" + "application/json" + "text/plain" + "text/html" + ]); + in { + defaultApplications = associations; + }; + networking.firewall.allowedTCPPorts = [ 53317 41567 5173 22 9600 ]; networking.firewall.allowedUDPPorts = [ 53317 41567 5173 22 9600 ]; } |
