catacomb: enable sound
This commit is contained in:
parent
e8fda52758
commit
accfdc159c
|
@ -23,6 +23,7 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
lsof # list open files
|
||||
mpv # cli media player
|
||||
smartmontools # provides smartctl
|
||||
usbutils # provides lsusb
|
||||
];
|
||||
|
@ -41,12 +42,24 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# To avoid needing an active user session, run a single system instance
|
||||
systemWide = true;
|
||||
};
|
||||
|
||||
services.openssh.settings.PasswordAuthentication = true;
|
||||
|
||||
services.rsyncd.enable = true;
|
||||
|
||||
users.users.tvb = {
|
||||
uid = 1001;
|
||||
extraGroups = [
|
||||
"pipewire"
|
||||
];
|
||||
packages = [
|
||||
(pkgs.writeShellScriptBin "yt-dlp" ''
|
||||
exec $HOME/.env/bin/yt-dlp "$@"
|
||||
|
|
Loading…
Reference in New Issue