fix: resolve proxmark firmware flashing issues

This commit is contained in:
2026-03-11 21:25:32 +01:00
committed by hektor
parent 7155c9d126
commit 554accb4aa
3 changed files with 19 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
{ config, lib, ... }:
let
cfg = config.nfc;
in
{
options.nfc = {
user = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
};
};
config = lib.mkIf (cfg.user != null) {
users.users.${cfg.user}.extraGroups = [ "dialout" ];
};
}