diff options
author | Kai Harries <kai.harries@posteo.de> | 2021-01-03 15:16:26 +0100 |
---|---|---|
committer | Kai Harries <kai.harries@posteo.de> | 2021-01-18 07:36:51 +0100 |
commit | 991aba30f81235c0d8221c069a9ff20bdbf6c904 (patch) | |
tree | bfa22ab8b2082a6dba5be25859544898ae63bd56 /nixos/modules/hardware | |
parent | d27be236f11c05da21322cb0d00a97f56c6be450 (diff) | |
download | nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.tar nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.tar.gz nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.tar.bz2 nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.tar.lz nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.tar.xz nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.tar.zst nixpkgs-991aba30f81235c0d8221c069a9ff20bdbf6c904.zip |
module nitrokey: drop option group
Since the update of the nitrokey-app to 1.4.2 the group option is no longer supported.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/nitrokey.nix | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/nixos/modules/hardware/nitrokey.nix b/nixos/modules/hardware/nitrokey.nix index 02e4c3f46f8..baa07203118 100644 --- a/nixos/modules/hardware/nitrokey.nix +++ b/nixos/modules/hardware/nitrokey.nix @@ -19,23 +19,9 @@ in nitrokey-app package, depending on your device and needs. ''; }; - - group = mkOption { - type = types.str; - default = "nitrokey"; - example = "wheel"; - description = '' - Grant access to Nitrokey devices to users in this group. - ''; - }; }; config = mkIf cfg.enable { - services.udev.packages = [ - (pkgs.nitrokey-udev-rules.override (attrs: - { inherit (cfg) group; } - )) - ]; - users.groups.${cfg.group} = {}; + services.udev.packages = [ pkgs.nitrokey-udev-rules ]; }; } |