rework thinkpad backup

This commit is contained in:
Rouven Seifert 2025-01-22 13:36:08 +01:00
parent aad5133e9e
commit 46e0511168
3 changed files with 19 additions and 2 deletions

View file

@ -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;

View file

@ -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";

View file

@ -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