summaryrefslogtreecommitdiff
path: root/hosts/cloud/networking.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2025-01-11 03:55:19 +0100
committerGrisha Shipunov2025-01-11 03:55:19 +0100
commit62e2519639faa250f43f9e80e69906a59d07a44e (patch)
tree08d662d7674904d566d2dd7ccf85affb9ddd7cd9 /hosts/cloud/networking.nix
parent595d4935de99cc2ff10be9eaddac498c7c38489f (diff)
delete legacy stuff and reformat
Diffstat (limited to 'hosts/cloud/networking.nix')
-rw-r--r--hosts/cloud/networking.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/cloud/networking.nix b/hosts/cloud/networking.nix
index 8f3021a..499bb0c 100644
--- a/hosts/cloud/networking.nix
+++ b/hosts/cloud/networking.nix
@@ -1,11 +1,12 @@
-{ lib, ... }: {
+{ lib, ... }:
+{
networking.dhcpcd.enable = false;
networking.useNetworkd = true;
systemd.network.enable = true;
systemd.network = {
networks."30-uplink" = {
- matchConfig.Name="enp1s0";
+ matchConfig.Name = "enp1s0";
networkConfig = {
Address = [
"188.245.196.27/32"