diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 1f60883..8ac927b 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -113,6 +113,7 @@ devmon.enable = true; # automount stuff upower.enable = true; fwupd.enable = true; # firmware updates + avahi.enable = true; btrfs.autoScrub.enable = true; mullvad-vpn = { enable = true; diff --git a/hosts/thinkpad/modules/backup/default.nix b/hosts/thinkpad/modules/backup/default.nix index 7d6ed7f..a9f9af8 100644 --- a/hosts/thinkpad/modules/backup/default.nix +++ b/hosts/thinkpad/modules/backup/default.nix @@ -32,9 +32,10 @@ "/home/*/.wine*" "/home/*/.mypy_cache*" "/home/*/.local/share" - # contains very big files that don't need to clutter up the backup - # if I ever happen to have important data in virtual machines, this can be reconsidered + "/home/rouven/Games" "/var/lib/libvirt" + "/var/lib/machines" + "/var/lib/docker" ]; encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets."borg/passphrase".path}"; compression = "lz4"; diff --git a/hosts/thinkpad/modules/sound/default.nix b/hosts/thinkpad/modules/sound/default.nix index 43fd7ec..801bf5f 100644 --- a/hosts/thinkpad/modules/sound/default.nix +++ b/hosts/thinkpad/modules/sound/default.nix @@ -2,9 +2,24 @@ { services.pipewire = { enable = true; + raopOpenFirewall = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; + extraConfig.pipewire = { + "10-airplay" = { + "context.modules" = [ + { + name = "libpipewire-module-raop-discover"; + + # increase the buffer size if you get dropouts/glitches + # args = { + # "raop.latency.ms" = 500; + # }; + } + ]; + }; + }; }; environment.systemPackages = with pkgs; [ helvum