From 991aba30f81235c0d8221c069a9ff20bdbf6c904 Mon Sep 17 00:00:00 2001 From: Kai Harries Date: Sun, 3 Jan 2021 15:16:26 +0100 Subject: module nitrokey: drop option group Since the update of the nitrokey-app to 1.4.2 the group option is no longer supported. --- nixos/modules/hardware/nitrokey.nix | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'nixos/modules/hardware/nitrokey.nix') 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 ]; }; } -- cgit 1.4.1