refactor: change to litterate config

Configuration is now held by the `.org` files. All `.nix` files are
tangled from the org-mode files.
This commit is contained in:
2026-10-26 00:43:40 +01:00
parent 5f4a7a4a42
commit a3df5e937f
94 changed files with 4194 additions and 913 deletions
+2 -12
View File
@@ -1,15 +1,5 @@
{
flake.modules.nixos.fingerprint = {
lib,
config,
...
}:
with lib; let
cfg = config.mySystem.hardware.fingerprint;
in {
options.mySystem.hardware.fingerprint.enable = mkEnableOption "Enable fingerprint reader";
config = mkIf cfg.enable {
hardware.facter.detected.fingerprint.enable = cfg.enable;
};
};
hardware.facter.detected.fingerprint.enable = true;
};
}