aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-07-04 17:17:08 +0200
committerKarel Kočí <cynerd@email.cz>2024-07-04 17:17:08 +0200
commit1e56e7f04d728989cbe957faf13cab4ef8deb220 (patch)
treeb03264615b4f21522b1fa3ecd9cda896ddd7ba4b
parent8ac10c646a6e3ca4e9dd4eaf1ed8225b71cabd06 (diff)
downloadnixos-personal-1e56e7f04d728989cbe957faf13cab4ef8deb220.tar.gz
nixos-personal-1e56e7f04d728989cbe957faf13cab4ef8deb220.tar.bz2
nixos-personal-1e56e7f04d728989cbe957faf13cab4ef8deb220.zip
nixos/ridcully: switch to systemd-networkd
This is required to be compatible with openvpn as I have it now.
-rw-r--r--nixos/configurations/ridcully.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/configurations/ridcully.nix b/nixos/configurations/ridcully.nix
index 66daf1b..2be1a7a 100644
--- a/nixos/configurations/ridcully.nix
+++ b/nixos/configurations/ridcully.nix
@@ -54,6 +54,13 @@ in {
fileSystems = ["/" "/home2"];
};
+ networking = {
+ useNetworkd = true;
+ useDHCP = true;
+ };
+ systemd.network = {
+ wait-online.enable = false;
+ };
#networking.vlans."enp6s0.adm" = {
#id = 2;
#interface = "enp6s0";