fingerprints :)
This commit is contained in:
parent
7bca3bbe77
commit
311cb2620a
4 changed files with 26 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
config.horseman = {
|
config.horseman = {
|
||||||
catppuccin.flavor = "macchiato";
|
catppuccin.flavor = "mocha";
|
||||||
|
|
||||||
users.default.enable = true;
|
users.default.enable = true;
|
||||||
|
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
wifi.enable = true;
|
wifi.enable = true;
|
||||||
|
fingerprint.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@
|
||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
./gpu/nvidia.nix
|
./gpu/nvidia.nix
|
||||||
./wifi.nix
|
./wifi.nix
|
||||||
|
./fingerprint.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
18
modules/hardware/fingerprint.nix
Normal file
18
modules/hardware/fingerprint.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
cfg = config.horseman.hardware.fingerprint;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
horseman.hardware.fingerprint = {
|
||||||
|
enable = mkEnableOption "Enables fingerprint support";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.fprintd.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,11 @@
|
||||||
2. Create a new machine entry in the [syncthing module](./modules/network/syncthing.nix).
|
2. Create a new machine entry in the [syncthing module](./modules/network/syncthing.nix).
|
||||||
3. Add the new device to folders.
|
3. Add the new device to folders.
|
||||||
|
|
||||||
|
## Fingerprints
|
||||||
|
|
||||||
|
1. Run `fprintd-enroll --finger <FINGER>`
|
||||||
|
|
||||||
|
# Apps
|
||||||
|
|
||||||
## Firefox
|
## Firefox
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue