diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-09-04 20:23:12 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-09-04 20:23:12 +0200 |
commit | 89c025b3667165b519db7ce82a4ff4fcc27f29a7 (patch) | |
tree | df6cb693cf5b06dbbb54e438d0255922d648d59c /nixos | |
parent | c6f4784cc8992bedc6193b16fd1031ef5f89d292 (diff) | |
download | nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.tar nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.tar.gz nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.tar.bz2 nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.tar.lz nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.tar.xz nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.tar.zst nixlib-89c025b3667165b519db7ce82a4ff4fcc27f29a7.zip |
nixos/fwupd: add polkit dependency
We are building fwupd daemon with polkit support which means polkit daemon is required. Previously polkit was enabled by default via udisks2 but that stopped with https://github.com/NixOS/nixpkgs/commit/f7637100655127dffbe14011b45be6a71f0e203d breaking the fwupd installed tests as a result. Let’s add the polkit dependency to the fwupd module to ensure polkit is available.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/hardware/fwupd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix index fe00cd1e32b6..2249f866803a 100644 --- a/nixos/modules/services/hardware/fwupd.nix +++ b/nixos/modules/services/hardware/fwupd.nix @@ -126,6 +126,8 @@ in { services.udev.packages = [ cfg.package ]; systemd.packages = [ cfg.package ]; + + security.polkit.enable = true; }; meta = { |