mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
networking/overlay: Explicitly disable DHCP
This commit is contained in:
parent
ae78231447
commit
42c49e8249
1 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,11 @@ in
|
|||
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
networking.useNetworkd = true;
|
||||
networking = {
|
||||
useNetworkd = true;
|
||||
useDHCP = false;
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-${cfg.interface}" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue