fix: resolve proxmark firmware flashing issues

This commit is contained in:
2026-02-06 12:26:16 +01:00
parent 3a1997f0c4
commit cb8ac3b848
3 changed files with 19 additions and 1 deletions

16
modules/nfc/default.nix Normal file
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" ];
};
}