Compare commits
1 Commits
main
...
9cb759f56e
| Author | SHA1 | Date | |
|---|---|---|---|
|
9cb759f56e
|
@@ -33,6 +33,7 @@
|
|||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
|
fingerprint.enable = true;
|
||||||
input = {
|
input = {
|
||||||
corne.allowHidAccess = true;
|
corne.allowHidAccess = true;
|
||||||
ibmTrackpoint.disable = true;
|
ibmTrackpoint.disable = true;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./amdgpu.nix
|
./amdgpu.nix
|
||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
|
./fingerprint.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
./input
|
./input
|
||||||
];
|
];
|
||||||
|
|||||||
12
system/hardware/fingerprint.nix
Normal file
12
system/hardware/fingerprint.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user