Task: moved hardware options into the niksos.hardware suboptions.

This commit is contained in:
Jurn Wubben 2025-07-09 00:22:25 +02:00
parent 0924f9c267
commit 678c3cb4f7
15 changed files with 99 additions and 82 deletions

View file

@ -4,13 +4,12 @@
pkgs,
...
}: let
inherit (config.niksos) fingerprint desktop;
inherit (config.niksos) hardware desktop;
inherit (lib) mkIf mkEnableOption;
uwsm = lib.getExe pkgs.uwsm;
foot = lib.getExe pkgs.foot;
in {
options.niksos.fingerprint = mkEnableOption "fingerprint support.";
config = mkIf fingerprint {
config = mkIf hardware.fingerprint {
services = {
fprintd.enable = true;
logind.extraConfig = mkIf desktop.hyprland ''