diff --git a/hosts/monolith/nebula-vpn.nix b/hosts/monolith/nebula-vpn.nix index 89fea2a..787f04c 100644 --- a/hosts/monolith/nebula-vpn.nix +++ b/hosts/monolith/nebula-vpn.nix @@ -16,8 +16,6 @@ in enable = true; isLighthouse = false; lighthouses = [ - "192.168.88.1" - "192.168.88.2" "192.168.88.3" ]; settings = { @@ -27,12 +25,6 @@ in key = s."nebula-wopus-vpn/monolith-key".path; ca = s."nebula-wopus-vpn/ca-crt".path; staticHostMap = { - "192.168.88.1" = [ - "neubla-vpn.wopus.dev:4242" - ]; - "192.168.88.2" = [ - "82.25.77.78:4242" - ]; "192.168.88.3" = [ "72.60.60.221:4242" ]; diff --git a/system/containers.nix b/system/containers.nix index dfa5bf0..c1f8a88 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -48,5 +48,9 @@ programs.extra-container.enable = true; programs.firejail.enable = true; + + virtualisation.libvirtd.enable = true; + environment.systemPackages = with pkgs; [ dnsmasq ]; + networking.firewall.trustedInterfaces = [ "virbr0" ]; }; } diff --git a/system/users.nix b/system/users.nix index 4528a6a..c1a1039 100644 --- a/system/users.nix +++ b/system/users.nix @@ -20,6 +20,8 @@ "corectrl" "vboxusers" "input" + "libvirtd" + "kvm" ]; shell = pkgs.fish; openssh.authorizedKeys.keys = [ diff --git a/user/fish/default.nix b/user/fish/default.nix index 2c04ca6..d3a5cd1 100644 --- a/user/fish/default.nix +++ b/user/fish/default.nix @@ -43,6 +43,14 @@ in echo "Exported key $export[1]" end end + + function ssh + if test "$TERM" = "alacritty" + env TERM=xterm-256color ssh $argv + else + env ssh $argv + end + end ''; shellAliases = { rm = "trash";