feat: add nfc module (and use it on 'astyanax')
This commit is contained in:
21
home/modules/nfc/proxmark3.nix
Normal file
21
home/modules/nfc/proxmark3.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nfc.proxmark3;
|
||||
in
|
||||
{
|
||||
options.nfc.proxmark3 = {
|
||||
enable = lib.mkEnableOption "proxmark3 (iceman fork)";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.proxmark3
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user