Add bespin machines #2
2 changed files with 7 additions and 2 deletions
|
@ -64,7 +64,6 @@ SystemMaxUse=1G
|
||||||
links2
|
links2
|
||||||
git
|
git
|
||||||
rclone
|
rclone
|
||||||
docker
|
|
||||||
docker-compose
|
docker-compose
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
#qemu
|
#qemu
|
||||||
|
@ -81,6 +80,12 @@ SystemMaxUse=1G
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.passwordAuthentication = false;
|
||||||
|
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
extraOptions = "--config-file=${pkgs.writeText "daemon.json" (builtins.toJSON {
|
||||||
|
dns = [ "172.17.0.1" "8.8.8.8" "8.8.4.4" ];
|
||||||
|
})}";
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
|
|
|
@ -173,7 +173,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
interface = [ "127.0.0.1" "${cfg.lan_ip}" ];
|
interface = [ "127.0.0.1" "${cfg.lan_ip}" "172.17.0.1" ];
|
||||||
domain-insecure = [ "consul." ];
|
domain-insecure = [ "consul." ];
|
||||||
local-zone = [ "consul. nodefault" ];
|
local-zone = [ "consul. nodefault" ];
|
||||||
log-servfail = true;
|
log-servfail = true;
|
||||||
|
|
Loading…
Reference in a new issue