Formatted

This commit is contained in:
2025-08-08 13:26:21 +03:00
parent 43e1f62a79
commit a98e77d41a
28 changed files with 381 additions and 325 deletions
+16 -12
View File
@@ -1,17 +1,21 @@
{ lib, config, pkgs, ... }:
let
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.hardware-audio.enable;
in {
options.azos.hardware-audio.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
options.azos.hardware-audio.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
hardware.pulseaudio.enable = true;
environment.systemPackages = with pkgs; [pavucontrol];
musnix.enable = true;
};
config = lib.mkIf isEnabled {
hardware.pulseaudio.enable = true;
environment.systemPackages = with pkgs; [pavucontrol];
musnix.enable = true;
};
}
+15 -11
View File
@@ -1,16 +1,20 @@
{ lib, config, pkgs, ... }:
let
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.bluetooth.enable;
in {
options.azos.bluetooth.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
options.azos.bluetooth.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
services.blueman.enable = true;
hardware.bluetooth.enable = true;
};
config = lib.mkIf isEnabled {
services.blueman.enable = true;
hardware.bluetooth.enable = true;
};
}
-1
View File
@@ -1,4 +1,3 @@
{
imports = [./audio.nix ./bluetooth.nix ./steam.nix];
}
+14 -10
View File
@@ -1,15 +1,19 @@
{ lib, config, pkgs, ... }:
let
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.steam.enable;
in {
options.azos.steam.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
options.azos.steam.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
programs.steam.enable = true;
};
config = lib.mkIf isEnabled {
programs.steam.enable = true;
};
}