2b75ee689d
This will be reused between machines. Change-Id: Ice7835ce7e63b00284e046606309e882412cda26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5547 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
24 lines
477 B
Nix
24 lines
477 B
Nix
# 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"
|
|
];
|
|
};
|
|
}
|