summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorKai Harries <kai.harries@posteo.de>2021-01-03 15:16:26 +0100
committerKai Harries <kai.harries@posteo.de>2021-01-18 07:36:51 +0100
commit991aba30f81235c0d8221c069a9ff20bdbf6c904 (patch)
treebfa22ab8b2082a6dba5be25859544898ae63bd56 /nixos/modules
parentd27be236f11c05da21322cb0d00a97f56c6be450 (diff)
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')
-rw-r--r--nixos/modules/hardware/nitrokey.nix16
1 files changed, 1 insertions, 15 deletions
diff --git a/nixos/modules/hardware/nitrokey.nix b/nixos/modules/hardware/nitrokey.nix
index 02e4c3f46f8d..baa07203118c 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 ];
};
}