Migrate vaultwarden to disko+impermanence

This commit is contained in:
Vili Sinervä 2025-07-01 23:30:36 +03:00
parent 717c81eeb0
commit 005fa8707e
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
10 changed files with 74 additions and 82 deletions

View file

@ -34,24 +34,6 @@
ssss
];
######################################## Impermanence ###########################################
environment.persistence."/persist" = {
enable = lib.mkDefault false;
hideMounts = true;
files = [
"/etc/machine-id"
"/etc/ssh/ssh_host_rsa_key"
"/etc/ssh/ssh_host_ed25519_key"
];
directories = [
"/var/lib/systemd/timers"
"/var/lib/nixos"
"/var/log"
];
};
######################################## ZSH configuration ######################################
users.defaultUserShell = pkgs.zsh;
environment.shells = with pkgs; [ zsh ];