fprintd: added option to use fork for Lenovo ThinkPad

This commit is contained in:
Elmo Todurov
2019-05-20 20:48:30 +03:00
parent 394b43f1fd
commit 432944cdb3
3 changed files with 22 additions and 5 deletions
+11 -1
View File
@@ -25,6 +25,16 @@ in
'';
};
package = mkOption {
type = types.package;
default = pkgs.fprintd;
defaultText = "pkgs.fprintd";
example = "pkgs.fprintd-thinkpad";
description = ''
fprintd package to use.
'';
};
};
};
@@ -38,7 +48,7 @@ in
environment.systemPackages = [ pkgs.fprintd ];
systemd.packages = [ pkgs.fprintd ];
systemd.packages = [ cfg.package ];
};