catacomb: enable sound

This commit is contained in:
Tim Van Baak 2024-08-31 14:51:28 +00:00
parent e8fda52758
commit accfdc159c

View File

@ -22,9 +22,10 @@
swapDevices = [ { device = "/swap"; size = 1024; } ];
environment.systemPackages = with pkgs; [
lsof # list open files
lsof # list open files
mpv # cli media player
smartmontools # provides smartctl
usbutils # provides lsusb
usbutils # provides lsusb
];
networking = {
@ -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 "$@"