Format using nixfmt rfc style

This commit is contained in:
Paul-Henri Froidmont 2024-08-20 22:58:24 +02:00
parent d07a224bbc
commit f6be5f8b80
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
37 changed files with 934 additions and 612 deletions

View file

@ -1,12 +1,19 @@
{ options, config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
with lib;
with lib.my;
let cfg = config.modules.hardware.audio;
in {
options.modules.hardware.audio = { enable = mkBoolOpt false; };
let
cfg = config.modules.hardware.audio;
in
{
options.modules.hardware.audio = {
enable = lib.my.mkBoolOpt false;
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
sound.enable = true;
security.rtkit.enable = true;