From 22b547adf43c6775a017932e7294eb1b16f03ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 11 Apr 2024 09:41:08 +0200 Subject: nixos/errol: switch to systemd-networkd --- flake.lock | 6 +++--- nixos/configurations/errol.nix | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index a0e6c47..3ff7deb 100644 --- a/flake.lock +++ b/flake.lock @@ -274,11 +274,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1712566108, - "narHash": "sha256-c9nT2ZODGqobISP41kUwCQ84Srwg7a/1TmPFQuol2/8=", + "lastModified": 1712760404, + "narHash": "sha256-4zhaEW1nB+nGbCNMjOggWeY5nXs/H0Y71q0+h+jdxoU=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "1e3b3a35b7083f4152f5a516798cf9b21e686465", + "rev": "e1c4bac14beb8c409d0534382cf967171706b9d9", "type": "github" }, "original": { diff --git a/nixos/configurations/errol.nix b/nixos/configurations/errol.nix index 0b9eae1..fd348e8 100644 --- a/nixos/configurations/errol.nix +++ b/nixos/configurations/errol.nix @@ -71,6 +71,14 @@ in { # }; #}; + networking = { + useNetworkd = true; + useDHCP = true; + }; + systemd.network = { + wait-online.enable = false; + }; + environment.systemPackages = [ pkgs.nvtopPackages.amd ]; -- cgit v1.2.3