Compare commits
5 commits
4065f0146b
...
5ccec30fae
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ccec30fae | |||
| e1c81e5347 | |||
| 030853eef1 | |||
| c70164709e | |||
| 5b01cf9169 |
4 changed files with 14 additions and 8 deletions
|
|
@ -16,8 +16,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
isLighthouse = false;
|
isLighthouse = false;
|
||||||
lighthouses = [
|
lighthouses = [
|
||||||
"192.168.88.1"
|
|
||||||
"192.168.88.2"
|
|
||||||
"192.168.88.3"
|
"192.168.88.3"
|
||||||
];
|
];
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -27,12 +25,6 @@ in
|
||||||
key = s."nebula-wopus-vpn/monolith-key".path;
|
key = s."nebula-wopus-vpn/monolith-key".path;
|
||||||
ca = s."nebula-wopus-vpn/ca-crt".path;
|
ca = s."nebula-wopus-vpn/ca-crt".path;
|
||||||
staticHostMap = {
|
staticHostMap = {
|
||||||
"192.168.88.1" = [
|
|
||||||
"neubla-vpn.wopus.dev:4242"
|
|
||||||
];
|
|
||||||
"192.168.88.2" = [
|
|
||||||
"82.25.77.78:4242"
|
|
||||||
];
|
|
||||||
"192.168.88.3" = [
|
"192.168.88.3" = [
|
||||||
"72.60.60.221:4242"
|
"72.60.60.221:4242"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -48,5 +48,9 @@
|
||||||
programs.extra-container.enable = true;
|
programs.extra-container.enable = true;
|
||||||
|
|
||||||
programs.firejail.enable = true;
|
programs.firejail.enable = true;
|
||||||
|
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
environment.systemPackages = with pkgs; [ dnsmasq ];
|
||||||
|
networking.firewall.trustedInterfaces = [ "virbr0" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,8 @@
|
||||||
"corectrl"
|
"corectrl"
|
||||||
"vboxusers"
|
"vboxusers"
|
||||||
"input"
|
"input"
|
||||||
|
"libvirtd"
|
||||||
|
"kvm"
|
||||||
];
|
];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,14 @@ in
|
||||||
echo "Exported key $export[1]"
|
echo "Exported key $export[1]"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function ssh
|
||||||
|
if test "$TERM" = "alacritty"
|
||||||
|
env TERM=xterm-256color ssh $argv
|
||||||
|
else
|
||||||
|
env ssh $argv
|
||||||
|
end
|
||||||
|
end
|
||||||
'';
|
'';
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
rm = "trash";
|
rm = "trash";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue