mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 02:31:33 +01:00
Rename module namespaces
This commit is contained in:
parent
0dcf8cc292
commit
ca1357b2d4
35 changed files with 4 additions and 4 deletions
16
modules/system/sound.nix
Normal file
16
modules/system/sound.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.myConfig.sound.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.sound.enable {
|
||||
security.rtkit.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
wireplumber.enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue