Compare commits

..

2 commits

Author SHA1 Message Date
d1b3a5a345
home: Enable playerctld 2024-12-19 09:07:37 +01:00
cf36cb0a09
pipewire: Use libcamera instead of v4l2 2024-12-19 09:06:43 +01:00
2 changed files with 16 additions and 1 deletions

View file

@ -21,7 +21,20 @@ in
pulse.enable = true; pulse.enable = true;
alsa.enable = true; alsa.enable = true;
jack.enable = cfg.jack; jack.enable = cfg.jack;
wireplumber.enable = true; wireplumber = {
enable = true;
configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/99-libcamera.conf" ''
wireplumber.profiles = {
main = {
monitor.v4l2 = disabled
monitor.libcamera = optional
}
}
'')
];
};
}; };
}; };

View file

@ -534,6 +534,8 @@ in
enable = true; enable = true;
systemdTarget = "sway-session.target"; systemdTarget = "sway-session.target";
}; };
playerctld.enable = true;
}; };
imports = imports =