Merge pull request #237994 from SebTM/fix/cups-xdg-missing
cups: add dependency for xdg-open
This commit is contained in:
commit
aaf4aa7c7e
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@ with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit (pkgs) cups cups-pk-helper cups-filters;
|
inherit (pkgs) cups cups-pk-helper cups-filters xdg-utils;
|
||||||
|
|
||||||
cfg = config.services.printing;
|
cfg = config.services.printing;
|
||||||
|
|
||||||
|
@ -313,7 +313,9 @@ in
|
||||||
description = "CUPS printing services";
|
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";
|
environment.etc.cups.source = "/var/lib/cups";
|
||||||
|
|
||||||
services.dbus.packages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
|
services.dbus.packages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
|
||||||
|
|
Loading…
Reference in a new issue