mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +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 [
|
config = lib.mkMerge [
|
||||||
{
|
{
|
||||||
networking.useNetworkd = true;
|
networking = {
|
||||||
|
useNetworkd = true;
|
||||||
|
useDHCP = false;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks."10-${cfg.interface}" = {
|
networks."10-${cfg.interface}" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue