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

This commit is contained in:
2026-02-05 18:48:40 +01:00
parent 4cf601df84
commit 0c553e7a7d
3 changed files with 28 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ in
../../modules/git ../../modules/git
../../modules/k8s/k9s.nix ../../modules/k8s/k9s.nix
../../modules/kitty.nix ../../modules/kitty.nix
../../modules/nfc
../../modules/nvim.nix ../../modules/nvim.nix
../../modules/ssh.nix ../../modules/ssh.nix
../../modules/taskwarrior.nix ../../modules/taskwarrior.nix
@@ -38,6 +39,7 @@ in
cloud.hetzner.enable = true; cloud.hetzner.enable = true;
comms.signal.enable = true; comms.signal.enable = true;
github.enable = true; github.enable = true;
nfc.proxmark3.enable = true;
shell.bash = { shell.bash = {
enable = true; enable = true;

View File

@@ -0,0 +1,5 @@
{
imports = [
./proxmark3.nix
];
}

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
];
};
}