From 5799cc1ce4b479f933d9938ef4d03ddc697152d3 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 31 Jul 2022 15:10:28 +0200 Subject: [PATCH] WIP: weewx --- container/webserver/config.nix | 13 +++++++++++++ container/webserver/default.nix | 18 +++++++++++++++++- secret/container/webserver.nix | Bin 1285 -> 0 bytes secret/container/webserver/config/weewx.conf | Bin 0 -> 22589 bytes secret/container/webserver/default.nix | Bin 0 -> 1942 bytes system/hosts/sail.nix | 11 +++++++++-- 6 files changed, 39 insertions(+), 3 deletions(-) delete mode 100644 secret/container/webserver.nix create mode 100644 secret/container/webserver/config/weewx.conf create mode 100644 secret/container/webserver/default.nix diff --git a/container/webserver/config.nix b/container/webserver/config.nix index 6ed4cdc..b69f428 100644 --- a/container/webserver/config.nix +++ b/container/webserver/config.nix @@ -79,4 +79,17 @@ mode = "0644"; }; + + # weewx + + systemd.tmpfiles.rules = [ + "d /etc/container-webserver/weewx 0755 421 421" + ]; + + environment.etc."container-webserver/weewx/weewx.conf" = { + source = ../../secret/container/webserver/config/weewx.conf; + mode = "0644"; + uid = 421; + gid = 421; + }; } diff --git a/container/webserver/default.nix b/container/webserver/default.nix index 97fc926..8f9ad61 100644 --- a/container/webserver/default.nix +++ b/container/webserver/default.nix @@ -1,5 +1,5 @@ let - secret = import ../../secret/container/webserver.nix; + secret = import ../../secret/container/webserver; custom-config = import ./config.nix { inherit secret; }; in { @@ -98,6 +98,22 @@ in }; }; }; + + # weewx = { + # service = { + # image = "ghcr.io/nifoc/weewx-docker:master"; + # restart = "always"; + # depends_on = [ "ipv6nat" "mosquitto" ]; + # networks = [ "webserver" ]; + # environment = { + # "TZ" = "Europe/Berlin"; + # }; + # volumes = [ + # "/etc/container-webserver/weewx:/data" + # ]; + # labels = secret.container.webserver.weewx.labels; + # }; + # }; }; networks.webserver = { diff --git a/secret/container/webserver.nix b/secret/container/webserver.nix deleted file mode 100644 index 5d31af5b4eb34cf2b50c8b5c885671775227d645..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1285 zcmV+g1^W5`M@dveQdv+`0DhLAWYO+wF3GH+PEY`%MbBAk@uiGbs*I*D!UfT zQz0GBl`Q;Y(Qf_%S*;MUmoE!!gG{a&KH`RAAGlcBF=1cTGy0NDy=jAz;$fU}?6;Uzxt6G55GSuUmGEe37nYBa4eDWn9Si#5$t`YaY(;(7t-$2`t*{RJM zP%{zo%kQkcw68gbqZiGKtb<30!`#<3xq1zcoLb3jLdK=^bfMLtTq6gSE7$T2fA;Ag zx@Gtec|GaEt6nA;`bft-Hw0Jt~%aN_Azjv_>c%SwEi zzI1c{;9MZ_sh^Eec7qWEk2=| zavMn3@oOw{PvwD5^IV%sftUh-(D`>3Ou-IraIt4920&0{C=e`jQf9C^ zuhK{UYrrT4jU);gW?_vHm!%^Z$~-?4imdYSh@@D}5SShHXgBmzTOp9e=cI>b&N2B_ z#1jej8DK!M{XgG&4d)-X(yvu9y2<4^50kXJ0iU)%Nk_H^idRdT zy32iya5owibJbk)8acgFH0#IrN$5P(>pAb+b;myyF>_VSrN|0(VARW&!>fTcR`?AGwofpO2T6;rRbGm$)#;LJ(d=z={_z3iy*=n>eOeh6) zt>zjWwL$gE7s`SSuk3+bEOz`{M3sB1uNiP4>6%8vanx@WTZQ#=$Al2ogwe{0{pNMZ zDhayv7Ph`WLBSw)h$j+T-sl&|E)28Jj&fRw0IlE z%l8Yy@mx@;yi7VLTqAr&=_I{0+?QMX!aFCZeCuQolV$Ewvd(IpZJjg~{R&1#tO;dm za{WKoQ}ky)cpfE*YZrO*ccr(uxq7phIyY`I1kVhiXQuFlVjJLZ4B4qM76l4}6txZ5 vM%i3gZ0=mSzqBYT=6ltgR&jz-8tOj>RaElwc>l1Ieq|ho{J&oVRG3nG9WsK` diff --git a/secret/container/webserver/config/weewx.conf b/secret/container/webserver/config/weewx.conf new file mode 100644 index 0000000000000000000000000000000000000000..a8a50d7da70f55ae6a2f58174556a63688fd15c8 GIT binary patch literal 22589 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rxPSSae<^8WH1pX3xVePMUx70so+!xArDo7GcTBB}QK;D3tIJFfNJUA8qW8GgS z;@A1ay#^AR>s2(T%VJ}e0lhAgEaWEVN@6#Q;vo`SNVqZ%K#Kowu5|)gj@NyiIcv2x zgr7V?I6RFK8OmwSyFz-E{>0+KZ4Ukn=_ufp)Jxl^sTN~jj^GlgN|y-2gx5Zq2a!_f zE3_{@QAM7}bSUDhx9%xX3i$ZDF@~#dRpGpouUib-(wB7in3n}ktJusBV-%aLBu*BI zGpH8RdsEcgb+O`?CuXWb(zt^;cKjmOYLOoJhsxfHUYXZ3^y=!z)MD3ewSE#n(Pk=X z>UOjlo?&6f;snunzeK7R3-O-fyCXb-8#xH7IhRL~;)sGJE53=bLUQw>N z*gqq9zEO0L>5*}ICI80TO*!E~%*Uw$=puWIC_>d!{pj*&fPeYR zt{5bWRW{`f(>kE$dyFB?oi|c2asJiyd7AsWYs_va7(_^PJz5qoSNI58BBX~6Ps!^= zu-!x)z5LY96ln#y!Z!xLpEX#4XX~}YnII_P!u6OArq0Vf0^3~%OZVk`3i7j;GAI1` zJd;U`r+V5H51-0@^B%T>eD-P_@3?M-dMe&&v$Z)QuwLEQh}k4rg&`!OJ=v-e147fI zAt^aXqz@Aa;a8;LjR@@s#~RS3{Df5xlC#Tfs*vy2*KT0S!>aB6N0Ta`);-L;Fmfj# ziCz>9q<)yTt&kAy z-81A)`HjsB*=Z=QKic}OFwwSS<^~s>w@QtUz-5<$T*kZ==wxZ=q5U^@23X{g3Jy_l zdPHkAqqKA4pvlvt_H#;!fi>#a=kocl*Dah{qR2xzkEtr)nbQbv)&up;{B khoz~vI{Z=3^d?Hl-Snu?!&_DmIx)k8Q(On|i8?XL$+X$&>;M1& literal 0 HcmV?d00001 diff --git a/secret/container/webserver/default.nix b/secret/container/webserver/default.nix new file mode 100644 index 0000000000000000000000000000000000000000..167f5ad42bb8ee30d83f9e397bec13d58168256b GIT binary patch literal 1942 zcmV;H2Wj{KM@dveQdv+`0Gg851G1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F)g&Ag^`r0x-Ap8& zatRTY*0Hh)8;7dvy5!x;bTL38@hlSj7PzvQp-;`;fdz{UrkdZN=+{E)(M?l`> z8V|OGxrs>i=VH?Evv7~LR6_I`B}i2d_|VVI6`8sCL~k@SYr9(+Oniv?rY3-QRrwMP zJk3DI>oT3%MJybG%j4d#uWY3e&QP2CnM8x^@{z!vnl-#uX2aKNS>Cgv2y(LwI=Ilu zN`)8Yk~4X|s@8k`FhS>rh>!l=u$JLR$~NmUSn!;nlP%a@ii3UX-<0EWh3~<*8VXLwPqH(39dWf9|G&{!P;b>{>Z;i8xGH(xuK)l5 literal 0 HcmV?d00001 diff --git a/system/hosts/sail.nix b/system/hosts/sail.nix index 922c73a..628fe0b 100644 --- a/system/hosts/sail.nix +++ b/system/hosts/sail.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +args@{ pkgs, ... }: let secret = import ../../secret/hosts/sail.nix; @@ -9,7 +9,7 @@ in ../nixos/ssh.nix ../nixos/git.nix - ../nixos/tailscale.nix + (import ../nixos/tailscale.nix (args // { inherit secret; })) ../nixos/arion.nix ../../container/webserver @@ -43,6 +43,13 @@ in interfaces.enp1s0.ipv6.addresses = secret.networking.interfaces.enp1s0.ipv6.addresses; defaultGateway6 = { address = "fe80::1"; interface = "enp1s0"; }; + + timeServers = [ + "ntp1.hetzner.de" + "ntp2.hetzner.com" + "ntp3.hetzner.net" + "time.cloudflare.com" + ]; }; users.users.root.openssh.authorizedKeys.keys = [