feat: add nfc module (and use it on 'astyanax')

This commit is contained in:
2026-03-11 21:25:32 +01:00
committed by hektor
parent 648c5b1dde
commit 8977ed2212
3 changed files with 28 additions and 0 deletions
+2
View File
@@ -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;
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
./proxmark3.nix
];
}
+21
View 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
];
};
}