mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor: static networking
This commit is contained in:
parent
1a4b5ee8b2
commit
91d4895c6f
13 changed files with 155 additions and 16 deletions
10
nixos/access/global.nix
Normal file
10
nixos/access/global.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in {
|
||||
networking = {
|
||||
tempAddresses = mkDefault "disabled";
|
||||
};
|
||||
}
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
networking = {
|
||||
nftables.enable = true;
|
||||
tempAddresses = "disabled";
|
||||
domain = mkDefault "gensokyo.zone";
|
||||
hostName = mkOverride 25 name;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -89,7 +89,6 @@ in {
|
|||
homekit = [ {
|
||||
name = "Tewi";
|
||||
port = 21063;
|
||||
ip_address = config.networking.access.static.ipv4;
|
||||
filter = let
|
||||
inherit (cfg.config) google_assistant;
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue