modules: hardware: move 'sound'

This commit is contained in:
Bruno BELANYI 2021-05-29 16:43:32 +02:00
parent f9bcf79430
commit af67d04992
4 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ ... }: { ... }:
{ {
my.modules.sound = { my.hardware.sound = {
enable = true; enable = true;
pipewire = { pipewire = {

View file

@ -10,7 +10,6 @@
./media.nix ./media.nix
./nix.nix ./nix.nix
./packages.nix ./packages.nix
./sound.nix
./upower.nix ./upower.nix
./users.nix ./users.nix
]; ];

View file

@ -6,5 +6,6 @@
./bluetooth.nix ./bluetooth.nix
./ergodox.nix ./ergodox.nix
./networking.nix ./networking.nix
./sound.nix
]; ];
} }

View file

@ -1,9 +1,9 @@
{ config, lib, ... }: { config, lib, ... }:
let let
cfg = config.my.modules.sound; cfg = config.my.hardware.sound;
in in
{ {
options.my.modules.sound = with lib; { options.my.hardware.sound = with lib; {
enable = mkEnableOption "sound configuration"; enable = mkEnableOption "sound configuration";
pipewire = { pipewire = {