From 2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 12 Jan 2023 13:36:44 +0100 Subject: nixos/desktop: use firefox from programs not by environment packages --- nixos/modules/desktop.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index e7c6ecc..bca265d 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -69,7 +69,6 @@ in { exts.pass-audit ])) - firefox chromium ferdium signal-desktop @@ -154,11 +153,16 @@ in { powertop acpi ]); - programs.vim.package = pkgs.vimHugeX; - programs.shellrc.desktop = true; - xdg.portal.enable = true; - xdg.portal.wlr.enable = true; - xdg.portal.extraPortals = with pkgs; [xdg-desktop-portal-gtk]; + programs = { + vim.package = pkgs.vimHugeX; + shellrc.desktop = true; + firefox.enable = true; + }; + xdg.portal = { + enable = true; + wlr.enable = true; + extraPortals = with pkgs; [xdg-desktop-portal-gtk]; + }; xdg.mime.defaultApplications = { "text/html" = ["firefox.desktop"]; "application/pdf" = ["mupdf.desktop"]; -- cgit v1.2.3