Commit Graph

28 Commits

Author SHA1 Message Date
457638a65b
config: put all custom library functions under private namespace 2023-12-19 19:23:39 +08:00
b533507f40
chore: reformat codebase 2023-12-15 13:27:12 +08:00
9762042848
hosts/plover: try out host-specific module structure 2023-12-11 16:30:00 +08:00
ccb05b35ae
hosts/plover: remove unused bindings 2023-10-04 13:29:29 +08:00
2e7cdeacf3
hosts: remove host path prefix for sops keys
It is more explicit and elegant but more of a pain to manage especially
with the new function. It was structured that way for other hosts'
secrets but it isn't really used in practice. We could just enforce a
convention such as a `hosts` prefix to contain those secrets.
2023-07-05 13:11:47 +08:00
fdd723ca33
config: convert to lib.getSecrets 2023-07-05 11:38:58 +08:00
53f7cf6e83
chore: reformat codebase 2023-06-29 14:17:38 +08:00
8a84eb2445
hosts/plover: move Wireguard secrets to appropriate location 2023-06-27 20:52:57 +08:00
e76a881aee
hosts/plover: update Wireguard routing 2023-06-27 12:54:29 +08:00
36e2a817ae
hosts/plover: fix Wireguard firewall settings 2023-06-22 23:17:28 +08:00
4b2777cda2
hosts/plover: change network attribute name
It is somewhat not great naming at first.
2023-06-22 18:01:19 +08:00
805ef47f70
hosts/plover: update Wireguard firewall rules 2023-06-13 13:20:00 +08:00
5949475aee
hosts/plover: update Wireguard "server" configuration 2023-06-11 14:11:35 +08:00
ab8ab4921c
config: add more comments 2023-06-08 19:53:20 +08:00
29d990f33c
hosts/plover: improve firewall settings for Wireguard service 2023-06-08 19:52:29 +08:00
60ab954c74
hosts/plover: update Wireguard "server" configuration 2023-02-13 09:51:30 +08:00
9b15f5f4dd
hosts/plover: update Wireguard setup 2023-02-10 23:45:11 +08:00
1c609f5e95
chore: reformat the codebase 2023-02-09 14:51:22 +08:00
9a07f06512
hosts/plover: update networking setup 2023-02-09 14:17:59 +08:00
f07aa33220
hosts/plover: update domain names for internal services 2023-02-08 19:05:23 +08:00
f75c04eaa9
hosts/plover: replace dnsmasq with CoreDNS as DNS server 2023-02-08 18:00:35 +08:00
efdbc4c103
hosts: fix Wireguard DNS settings 2023-02-06 19:32:55 +08:00
c8b55c278a
hosts: update Wireguard setup 2023-02-06 16:08:08 +08:00
d0720ee7b7 hosts: revise networking-related variables set 2023-01-26 13:10:15 +08:00
a386f99554 hosts: simplify networking set and update Wireguard setup
Currently, the networking set is very messy. It is better to contain
them into another attribute set and categorizing them by the interfaces
that is supposed to contain them. I should've done this some time ago.
2023-01-23 17:46:32 +08:00
fb5f2e277d hosts/plover: simply Wireguard configuration code 2023-01-23 13:29:42 +08:00
33206698c0 hosts: update Wireguard network setup 2023-01-19 20:16:01 +08:00
6bf2642ffc hosts: add Wireguard services to related peers
Among other things, Plover now ignores certain IP for fail2ban. This is
for the VPN users that are placed in that range.
2023-01-17 21:34:54 +08:00