mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
test: vaultwarden microVM
This commit is contained in:
parent
9c19cdf131
commit
9f6f5cda5e
5 changed files with 219 additions and 234 deletions
|
|
@ -34,24 +34,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# Remote rebuild safeguards:
|
||||
# These settings prevent network services from restarting during nixos-rebuild,
|
||||
# which would otherwise drop SSH connections when done remotely.
|
||||
# The bridge configuration changes enp10s0, so we need to prevent systemd-networkd
|
||||
# and NetworkManager from restarting to maintain connectivity.
|
||||
|
||||
# Prevent SSH connections from being killed during network reconfiguration
|
||||
systemd.services.sshd = {
|
||||
stopIfChanged = false;
|
||||
reloadIfChanged = true;
|
||||
};
|
||||
|
||||
# Prevent systemd-networkd from restarting during switches to avoid dropping SSH
|
||||
systemd.services.systemd-networkd = {
|
||||
stopIfChanged = false;
|
||||
restartTriggers = lib.mkForce [ ];
|
||||
};
|
||||
|
||||
services = {
|
||||
avahi = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue