Task: moved hardware options into the niksos.hardware suboptions.
This commit is contained in:
parent
0924f9c267
commit
678c3cb4f7
15 changed files with 99 additions and 82 deletions
|
|
@ -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 ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue