This commit is contained in:
parent
988dac6413
commit
32e28379e2
9 changed files with 12 additions and 53 deletions
|
@ -4,18 +4,6 @@
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
power-profiles-daemon.enable = false;
|
power-profiles-daemon.enable = false;
|
||||||
thermald.enable = true;
|
thermald.enable = true;
|
||||||
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
alsa = {
|
|
||||||
enable = true;
|
|
||||||
support32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
pulseaudio.enable = false;
|
pulseaudio.enable = false;
|
||||||
|
|
||||||
|
|
|
@ -26,10 +26,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
core = {
|
|
||||||
pipewire.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
dwm.enable = true;
|
dwm.enable = true;
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./cron.nix
|
./cron.nix
|
||||||
./interception-tools.nix
|
./interception-tools.nix
|
||||||
./sound.nix
|
|
||||||
./udev.nix
|
./udev.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
alsa = {
|
|
||||||
enable = true;
|
|
||||||
support32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -7,7 +7,6 @@
|
||||||
./gnupg.nix
|
./gnupg.nix
|
||||||
./kanata.nix
|
./kanata.nix
|
||||||
./nixpad
|
./nixpad
|
||||||
./pipewire.nix
|
|
||||||
./podman.nix
|
./podman.nix
|
||||||
./st.nix
|
./st.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.features.core.pipewire;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.features.core.pipewire.enable = mkEnableOption "Enable pipewire";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
alsa = {
|
|
||||||
enable = true;
|
|
||||||
support32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
6
modules2/sound/pipewire/alsa.nix
Normal file
6
modules2/sound/pipewire/alsa.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.pipewire.alsa = {
|
||||||
|
enable = true;
|
||||||
|
support32Bit = true;
|
||||||
|
};
|
||||||
|
}
|
3
modules2/sound/pipewire/enable.nix
Normal file
3
modules2/sound/pipewire/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.pipewire.enable = true;
|
||||||
|
}
|
3
modules2/sound/pipewire/pulse.nix
Normal file
3
modules2/sound/pipewire/pulse.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.pipewire.pulse.enable = true;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue