feat(nfc): add enable option, inline proxmark3
This commit is contained in:
1 parent
3dbd301925
commit
bf248d495b
4 files changed
+21
-10
No files matched your search
@@ -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; })
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user