mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 09:55:38 +01:00
rework thinkpad backup
This commit is contained in:
parent
aad5133e9e
commit
46e0511168
3 changed files with 19 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue