diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-11-08 10:18:44 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-11-08 10:18:44 +0100 |
commit | 137d815df2cf60bff67ed8f1c0be1c81fe4661b0 (patch) | |
tree | ec36f259895bb2be96dbd6b250e63e79506ccf18 /machines/srv1 | |
parent | 33cd6eafeb9852ea9481401dfeb66b87b6ccc480 (diff) | |
download | dots-137d815df2cf60bff67ed8f1c0be1c81fe4661b0.tar.gz dots-137d815df2cf60bff67ed8f1c0be1c81fe4661b0.zip |
Add srv2
Diffstat (limited to 'machines/srv1')
-rw-r--r-- | machines/srv1/configuration.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index 4ffa80a..30a9b87 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -46,6 +46,7 @@ in networking.hostName = "srv1"; networking.extraHosts = '' 192.168.1.136 srv1.niedzwiedzinski.cyou git.niedzwiedzinski.cyou tmp.niedzwiedzinski.cyou zhr.niedzwiedzinski.cyou help.niedzwiedzinski.cyou niedzwiedzinski.cyou pics.niedzwiedzinski.cyou + 192.168.1.144 srv2.niedzwiedzinski.cyou '' + pkgs.stdenv.lib.readFile ( pkgs.fetchurl { url = "https://raw.githubusercontent.com/StevenBlack/hosts/d2be343994aacdec74865ff8d159cf6e46359adf/alternates/fakenews-gambling-porn/hosts"; sha256 = "1la5rd0znc25q8yd1iwbx22zzqi6941vyzmgar32jx568j856s8j"; @@ -56,6 +57,7 @@ in servers = [ "1.1.1.1" "8.8.8.8" ]; extraConfig = '' address=/.srv1.niedzwiedzinski.cyou/192.168.1.136 + address=/.srv2.niedzwiedzinski.cyou/192.168.1.144 ''; }; |