aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-04-11 09:41:08 +0200
committerKarel Kočí <cynerd@email.cz>2024-04-11 09:41:08 +0200
commit22b547adf43c6775a017932e7294eb1b16f03ef2 (patch)
tree03b9f534f9939b01db28433655efcb8cf53b1b03
parent0254a755da33dfc800c6a738fa094bada8dc46bd (diff)
downloadnixos-personal-22b547adf43c6775a017932e7294eb1b16f03ef2.tar.gz
nixos-personal-22b547adf43c6775a017932e7294eb1b16f03ef2.tar.bz2
nixos-personal-22b547adf43c6775a017932e7294eb1b16f03ef2.zip
nixos/errol: switch to systemd-networkd
-rw-r--r--flake.lock6
-rw-r--r--nixos/configurations/errol.nix8
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
];