diff options
author | Griffin Smith <root@gws.fyi> | 2021-01-10 11:29:43 -0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2021-01-10 11:29:43 -0500 |
commit | ee12216b9b490b1e249cb9219f9077ca4c89dba3 (patch) | |
tree | b68944904be39865b8babdff0197e4eaffb69ad3 | |
parent | 51894963cbdc41f0cd8f571b7bcf79437d940355 (diff) | |
download | nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.tar nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.tar.gz nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.tar.bz2 nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.tar.lz nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.tar.xz nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.tar.zst nixpkgs-ee12216b9b490b1e249cb9219f9077ca4c89dba3.zip |
fprintd: Use cfg.package instead of pkgs.fprintd
Use the configured package for fprintd in services.dbus.packages and environment.systemPackages rather than hardcoding pkgs.fprintd.
-rw-r--r-- | nixos/modules/services/security/fprintd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/security/fprintd.nix b/nixos/modules/services/security/fprintd.nix index cbac4ef05b8..48f8a9616c3 100644 --- a/nixos/modules/services/security/fprintd.nix +++ b/nixos/modules/services/security/fprintd.nix @@ -43,9 +43,9 @@ in config = mkIf cfg.enable { - services.dbus.packages = [ pkgs.fprintd ]; + services.dbus.packages = [ cfg.package ]; - environment.systemPackages = [ pkgs.fprintd ]; + environment.systemPackages = [ cfg.package ]; systemd.packages = [ cfg.package ]; |