summaryrefslogtreecommitdiff
path: root/os/fscusat/modules/network.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-06-10 15:55:54 +0530
committersinanmohd <sinan@sinanmohd.com>2025-06-10 22:55:04 +0530
commita41037ef644dbacb3d577933fb3d93c210439b38 (patch)
treea262750bcb1357785ad8cb68b232a5ca242ee671 /os/fscusat/modules/network.nix
parentcfccbd1e4026d568e23a47c060ae3ae042cceb4c (diff)
chore(repo): reformat with nixfmt-rfc-style
Diffstat (limited to 'os/fscusat/modules/network.nix')
-rw-r--r--os/fscusat/modules/network.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/os/fscusat/modules/network.nix b/os/fscusat/modules/network.nix
index 53367f8..fefcd14 100644
--- a/os/fscusat/modules/network.nix
+++ b/os/fscusat/modules/network.nix
@@ -5,14 +5,19 @@ let
in
{
networking = {
- interfaces.${wan}.ipv4.addresses = [{
- address = "10.0.8.101";
- prefixLength = 16;
- }];
+ interfaces.${wan}.ipv4.addresses = [
+ {
+ address = "10.0.8.101";
+ prefixLength = 16;
+ }
+ ];
defaultGateway = {
address = "10.0.0.1";
interface = wan;
};
- nameservers = [ "10.0.0.2" "10.0.0.3" ];
+ nameservers = [
+ "10.0.0.2"
+ "10.0.0.3"
+ ];
};
}