feat: add nfc module (and use it on 'astyanax')
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
5
home/modules/nfc/default.nix
Normal file
5
home/modules/nfc/default.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./proxmark3.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
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