cups: add xdg-open as dependency package as substitution does not work
for all desktop-envs
This commit is contained in:
parent
78419edadf
commit
57071b60fe
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@ with lib;
|
|||
|
||||
let
|
||||
|
||||
inherit (pkgs) cups cups-pk-helper cups-filters;
|
||||
inherit (pkgs) cups cups-pk-helper cups-filters xdg-utils;
|
||||
|
||||
cfg = config.services.printing;
|
||||
|
||||
|
@ -313,7 +313,9 @@ in
|
|||
description = "CUPS printing services";
|
||||
};
|
||||
|
||||
environment.systemPackages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
|
||||
# We need xdg-open (part of xdg-utils) for the desktop-file to proper open the users default-browser when opening "Manage Printing"
|
||||
# https://github.com/NixOS/nixpkgs/pull/237994#issuecomment-1597510969
|
||||
environment.systemPackages = [ cups.out xdg-utils ] ++ optional polkitEnabled cups-pk-helper;
|
||||
environment.etc.cups.source = "/var/lib/cups";
|
||||
|
||||
services.dbus.packages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
|
||||
|
|
Loading…
Reference in a new issue