Nix flake update.
This commit is contained in:
parent
700e21defa
commit
6db3753655
3 changed files with 43 additions and 6 deletions
37
machines/lebesgue/config/#state.nix#
Normal file
37
machines/lebesgue/config/#state.nix#
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.age.sshKeyPaths = [ "/persist/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
"/var/cache/restic-backups-s3"
|
||||
"/var/lib/continuwuity"
|
||||
"/var/lib/forgejo"
|
||||
"/var/lib/tailscale"
|
||||
"/var/lib/goatcounter"
|
||||
"/var/log"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/docker"
|
||||
"/var/lib/authelia-main"
|
||||
"/var/lib/caddy/.local/share/caddy"
|
||||
"/var/lib/vaultwarden"
|
||||
"opt/continuwuity-db-backups"
|
||||
|
||||
{
|
||||
directory = "/var/lib/lldap";
|
||||
user = "lldap";
|
||||
group = "lldap";
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
"/etc/ssh/ssh_host_rsa_key.pub"
|
||||
"/etc/ssh/ssh_host_rsa_key"
|
||||
"/etc/ssh/ssh_host_ed25519_key"
|
||||
"/etc/ssh/ssh_host_ed25519_key.pub"
|
||||
"/var/lib/systemd/random-seed"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue