diff --git a/home/hosts/astyanax/default.nix b/home/hosts/astyanax/default.nix index fba85a8..3d114d8 100644 --- a/home/hosts/astyanax/default.nix +++ b/home/hosts/astyanax/default.nix @@ -17,6 +17,7 @@ in ../../modules/git ../../modules/k8s/k9s.nix ../../modules/kitty.nix + ../../modules/nfc ../../modules/nvim.nix ../../modules/ssh.nix ../../modules/taskwarrior.nix @@ -38,6 +39,7 @@ in cloud.hetzner.enable = true; comms.signal.enable = true; github.enable = true; + nfc.proxmark3.enable = true; shell.bash = { enable = true; diff --git a/home/modules/nfc/default.nix b/home/modules/nfc/default.nix new file mode 100644 index 0000000..6c3c675 --- /dev/null +++ b/home/modules/nfc/default.nix @@ -0,0 +1,5 @@ +{ + imports = [ + ./proxmark3.nix + ]; +} diff --git a/home/modules/nfc/proxmark3.nix b/home/modules/nfc/proxmark3.nix new file mode 100644 index 0000000..1296350 --- /dev/null +++ b/home/modules/nfc/proxmark3.nix @@ -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 + ]; + }; +}