fix: resolve proxmark firmware flashing issues

This commit is contained in:
hektor authored and Hektor Misplon committed 2026-03-11 21:25:32 +01:00
1 parent 7155c9d126
commit 554accb4aa
3 files changed
+19 -1

No files matched your search

+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" ];
};
}