Migrate vaultwarden to disko+impermanence
This commit is contained in:
parent
717c81eeb0
commit
005fa8707e
10 changed files with 74 additions and 82 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue