feat(nfc): add enable option, inline proxmark3

This commit is contained in:
2026-05-22 09:50:14 +02:00
parent 3dbd301925
commit bf248d495b
4 changed files with 21 additions and 10 deletions

View File

@@ -1,5 +1,21 @@
{
imports = [
./proxmark3.nix
];
config,
lib,
pkgs,
...
}:
let
cfg = config.nfc;
in
{
options.nfc = {
enable = lib.mkEnableOption "NFC tools";
};
config = lib.mkIf cfg.enable {
home.packages = [
(pkgs.proxmark3.override { withGeneric = true; })
];
};
}

View File

@@ -1,6 +0,0 @@
{ pkgs, ... }:
{
home.packages = [
(pkgs.proxmark3.override { withGeneric = true; })
];
}