catacomb: enable sound
This commit is contained in:
parent
e8fda52758
commit
accfdc159c
|
@ -22,9 +22,10 @@
|
||||||
swapDevices = [ { device = "/swap"; size = 1024; } ];
|
swapDevices = [ { device = "/swap"; size = 1024; } ];
|
||||||
|
|
||||||
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
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
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.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 "$@"
|
||||||
|
|
Loading…
Reference in New Issue