power stuff and disable docker

This commit is contained in:
Kopatz
2024-06-07 17:35:18 +02:00
parent 9e83178ef2
commit 62c3617800
8 changed files with 274 additions and 238 deletions

View File

@@ -9,5 +9,6 @@
./wooting.nix
./tpm.nix
./tablet.nix
./fingerprint.nix
];
}

View File

@@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:
let cfg = config.custom.hardware.fingerprint;
in {
options.custom.hardware.fingerprint = {
enable = lib.mkEnableOption "Enables fingerprint sensor support";
};
config = lib.mkIf cfg.enable {
services.fprintd = {
enable = true;
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-goodix;
};
};
};
}