2022-05-09 15:40:15 +02:00
|
|
|
# Configuration for persistent (non-home) data.
|
|
|
|
{ depot, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
"${depot.third_party.impermanence}/nixos.nix"
|
|
|
|
];
|
|
|
|
|
|
|
|
environment.persistence."/persist" = {
|
|
|
|
directories = [
|
|
|
|
"/etc/NetworkManager/system-connections"
|
|
|
|
"/etc/mullvad-vpn"
|
|
|
|
"/var/cache/mullvad-vpn"
|
|
|
|
"/var/lib/bluetooth"
|
|
|
|
"/var/lib/systemd/coredump"
|
|
|
|
"/var/lib/tailscale"
|
|
|
|
"/var/log"
|
|
|
|
];
|
|
|
|
|
|
|
|
files = [
|
|
|
|
"/etc/machine-id"
|
|
|
|
];
|
|
|
|
};
|
2022-05-09 17:04:52 +02:00
|
|
|
|
|
|
|
programs.fuse.userAllowOther = true;
|
2022-05-09 15:40:15 +02:00
|
|
|
}
|