rip home-hypervisor
It's an old laptop and he does good work all these years. Well, maybe I can fix it.
This commit is contained in:
parent
f61b0e7586
commit
946efccf70
@ -20,6 +20,14 @@
|
||||
./services/tor-bridge.nix
|
||||
./services/wireguard.nix
|
||||
./services/xtls.nix
|
||||
|
||||
customProfiles.authentik
|
||||
customProfiles.hoyolab
|
||||
customProfiles.radicale
|
||||
customProfiles.vaultwarden
|
||||
(import customProfiles.headscale {
|
||||
headscale-list = [ ];
|
||||
})
|
||||
];
|
||||
|
||||
# Impermanence
|
||||
@ -61,6 +69,7 @@
|
||||
directories = [
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/systemd"
|
||||
"/var/lib/postgresql"
|
||||
];
|
||||
};
|
||||
};
|
||||
@ -253,6 +262,10 @@
|
||||
networking.firewall.interfaces."podman+".allowedUDPPorts = [ 53 5353 ];
|
||||
security.unprivilegedUsernsClone = true;
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
nixpkgs.overlays = [
|
||||
inputs.ataraxiasjel-nur.overlays.default
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ headscale-list ? {} }: { config, lib, inputs, ... }:
|
||||
{ headscale-list ? [] }: { config, lib, inputs, ... }:
|
||||
let
|
||||
domain = "wg.ataraxiadev.com";
|
||||
in {
|
||||
@ -42,11 +42,11 @@ in {
|
||||
};
|
||||
systemd.services.headscale = {
|
||||
serviceConfig.TimeoutStopSec = 10;
|
||||
after = lib.mkIf config.services.authentik.enable [
|
||||
"authentik-server.service"
|
||||
"authentik-worker.service"
|
||||
"nginx.service"
|
||||
];
|
||||
# after = lib.mkIf config.services.authentik.enable [
|
||||
# "authentik-server.service"
|
||||
# "authentik-worker.service"
|
||||
# "nginx.service"
|
||||
# ];
|
||||
};
|
||||
|
||||
persist.state.directories = [ "/var/lib/headscale" ];
|
||||
|
Loading…
x
Reference in New Issue
Block a user