fix: tf state toggle

This commit is contained in:
Kat Inskip 2022-09-24 10:02:02 -07:00
parent 7756c040db
commit 14b1e2e90a
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -81,7 +81,7 @@ in
};
networks = {
internet = {
internet = lib.mkIf tf.state.enable {
interfaces = lib.singleton interface;
ipv4 = lib.mkOrder 1000 (tf.resources.${config.networking.hostName}.getAttr "public_ip");
ipv6 = let