mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
fix: tf state toggle
This commit is contained in:
parent
7756c040db
commit
14b1e2e90a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue