1
1
Fork 0

catacomb: enable sound

This commit is contained in:
Tim Van Baak 2024-08-31 14:51:28 +00:00
parent e8fda52758
commit accfdc159c
1 changed files with 15 additions and 2 deletions

View File

@ -23,6 +23,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lsof # list open files lsof # list open files
mpv # cli media player
smartmontools # provides smartctl smartmontools # provides smartctl
usbutils # provides lsusb 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.openssh.settings.PasswordAuthentication = true;
services.rsyncd.enable = true; services.rsyncd.enable = true;
users.users.tvb = { users.users.tvb = {
uid = 1001; uid = 1001;
extraGroups = [
"pipewire"
];
packages = [ packages = [
(pkgs.writeShellScriptBin "yt-dlp" '' (pkgs.writeShellScriptBin "yt-dlp" ''
exec $HOME/.env/bin/yt-dlp "$@" exec $HOME/.env/bin/yt-dlp "$@"