mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
hosts/ni/networking/setup: update module
This commit is contained in:
parent
dea3b55aed
commit
16dd14e451
@ -30,7 +30,14 @@ in
|
|||||||
risk.
|
risk.
|
||||||
:::
|
:::
|
||||||
'';
|
'';
|
||||||
default = "networkmanager";
|
default =
|
||||||
|
if config.networking.useNetworkd
|
||||||
|
then "networkd"
|
||||||
|
else "networkmanager";
|
||||||
|
defaultText = ''
|
||||||
|
When networkd is enabled, `networkd`, otherwise `networkmanager` as the
|
||||||
|
general fallback value.
|
||||||
|
'';
|
||||||
example = "networkd";
|
example = "networkd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -155,10 +162,12 @@ in
|
|||||||
state.ports = {
|
state.ports = {
|
||||||
http = {
|
http = {
|
||||||
value = 80;
|
value = 80;
|
||||||
|
protocols = [ "tcp" ];
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
https = {
|
https = {
|
||||||
value = 443;
|
value = 443;
|
||||||
|
protocols = [ "tcp" ];
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user