diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-05-08 14:29:11 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-05-08 14:29:18 +0530 |
| commit | 7dbf17f0850ebbdd75993286f22c75b746591a3f (patch) | |
| tree | ced65c437ef049720443ea0090df7d7b209d4c20 /nixos | |
| parent | 3b85116cd708fb94cf79bc68f853618b2906dfed (diff) | |
pdf xdg-open fix
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/apps.nix | 4 | ||||
| -rw-r--r-- | nixos/apps/browser.nix | 5 | ||||
| -rw-r--r-- | nixos/opt/nvidia.nix | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/nixos/apps.nix b/nixos/apps.nix index 6ea2285..b8f6e9b 100644 --- a/nixos/apps.nix +++ b/nixos/apps.nix @@ -37,6 +37,6 @@ ]; }; - networking.firewall.allowedTCPPorts = [ 53317 8081 4173 ]; - networking.firewall.allowedUDPPorts = [ 53317 8081 4173 ]; + networking.firewall.allowedTCPPorts = [ 53317 8081 4173 3001 ]; + networking.firewall.allowedUDPPorts = [ 53317 8081 4173 3001 ]; } diff --git a/nixos/apps/browser.nix b/nixos/apps/browser.nix index 0b5a330..52456e8 100644 --- a/nixos/apps/browser.nix +++ b/nixos/apps/browser.nix @@ -6,7 +6,9 @@ xdg.mime = let value = "zen-browser.desktop"; - associations = builtins.listToAttrs (map (name: { + associations = { + "application/pdf" = "org.kde.okular.desktop"; + } // builtins.listToAttrs (map (name: { inherit name value; }) [ "application/x-extension-shtml" @@ -22,7 +24,6 @@ "x-scheme-handler/http" "application/xhtml+xml" "application/json" - "application/pdf" "text/plain" "text/html" ]); diff --git a/nixos/opt/nvidia.nix b/nixos/opt/nvidia.nix index 5bfe45e..191fa98 100644 --- a/nixos/opt/nvidia.nix +++ b/nixos/opt/nvidia.nix @@ -6,6 +6,9 @@ package = config.boot.kernelPackages.nvidiaPackages.stable; nvidiaSettings = true; open = false; + prime = { + + }; }; hardware.graphics.enable32Bit = true; hardware.graphics.extraPackages = with pkgs; [ |
