Cleanup
Addressed some things nixd complained about
This commit is contained in:
parent
7d8c009c64
commit
b9b996bd66
25 changed files with 145 additions and 187 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue