Addressed some things nixd complained about
This commit is contained in:
alejandro-angulo 2024-08-03 10:32:02 -07:00
parent 7d8c009c64
commit b9b996bd66
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
25 changed files with 145 additions and 187 deletions

View file

@ -1,14 +1,14 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.aa.hardware.audio;
in {
options.aa.hardware.audio = with types; {
options.aa.hardware.audio = {
enable = mkEnableOption "audio";
};

View file

@ -1,14 +1,13 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.aa.hardware.bluetooth;
in {
options.aa.hardware.bluetooth = with types; {
options.aa.hardware.bluetooth = {
enable = mkEnableOption "bluetooth";
};
@ -17,4 +16,3 @@ in {
services.blueman.enable = true;
};
}

View file

@ -1,14 +1,13 @@
{
options,
config,
pkgs,
lib,
...
}:
with lib; let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.aa.hardware.tlp;
in {
options.aa.hardware.tlp = with types; {
options.aa.hardware.tlp = {
enable = mkEnableOption "tlp";
};