mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 18:05:36 +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
|
devmon.enable = true; # automount stuff
|
||||||
upower.enable = true;
|
upower.enable = true;
|
||||||
fwupd.enable = true; # firmware updates
|
fwupd.enable = true; # firmware updates
|
||||||
|
avahi.enable = true;
|
||||||
btrfs.autoScrub.enable = true;
|
btrfs.autoScrub.enable = true;
|
||||||
mullvad-vpn = {
|
mullvad-vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -32,9 +32,10 @@
|
||||||
"/home/*/.wine*"
|
"/home/*/.wine*"
|
||||||
"/home/*/.mypy_cache*"
|
"/home/*/.mypy_cache*"
|
||||||
"/home/*/.local/share"
|
"/home/*/.local/share"
|
||||||
# contains very big files that don't need to clutter up the backup
|
"/home/rouven/Games"
|
||||||
# if I ever happen to have important data in virtual machines, this can be reconsidered
|
|
||||||
"/var/lib/libvirt"
|
"/var/lib/libvirt"
|
||||||
|
"/var/lib/machines"
|
||||||
|
"/var/lib/docker"
|
||||||
];
|
];
|
||||||
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets."borg/passphrase".path}";
|
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets."borg/passphrase".path}";
|
||||||
compression = "lz4";
|
compression = "lz4";
|
||||||
|
|
|
@ -2,9 +2,24 @@
|
||||||
{
|
{
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
raopOpenFirewall = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = 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; [
|
environment.systemPackages = with pkgs; [
|
||||||
helvum
|
helvum
|
||||||
|
|
Loading…
Add table
Reference in a new issue