git.iko.soy/typeable/nixpkgs
on master help sign in
module nitrokey: drop option group

Since the update of the nitrokey-app to 1.4.2 the group option is no longer supported.

commit991aba30f81235c0d8221c069a9ff20bdbf6c904 authorKai Harries <kai.harries@posteo.de> dateSun 3 Jan 2021, 15:16 (6 years ago) parentd27be23
1 file changed+1−15
nixos/modules/hardware/nitrokey.nix+1−15
nixos/modules/hardware/nitrokey.nix+1−15
@@ -19,23 +19,9 @@ in
1919 nitrokey-app package, depending on your device and needs.
2020 '';
2121 };
22−
23− group = mkOption {
24− type = types.str;
25− default = "nitrokey";
26− example = "wheel";
27− description = ''
28− Grant access to Nitrokey devices to users in this group.
29− '';
30− };
3122 };
3223
3324 config = mkIf cfg.enable {
34− services.udev.packages = [
35− (pkgs.nitrokey-udev-rules.override (attrs:
36− { inherit (cfg) group; }
37− ))
38− ];
39− users.groups.${cfg.group} = {};
25+ services.udev.packages = [ pkgs.nitrokey-udev-rules ];
4026 };
4127}