diff options
author | Karel Kočí <cynerd@email.cz> | 2023-01-12 13:36:44 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-01-12 13:36:44 +0100 |
commit | 2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac (patch) | |
tree | bf9fe4ee13b6a9909fa7ac82fc1ef7058872904c /nixos | |
parent | c38df5a32266029bfe6d5c1f8b4fbe9adf2532ef (diff) | |
download | nixos-personal-2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac.tar.gz nixos-personal-2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac.tar.bz2 nixos-personal-2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac.zip |
nixos/desktop: use firefox from programs not by environment packages
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/desktop.nix | 16 |
1 files changed, 10 insertions, 6 deletions
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"]; |