Fix incorrect configuration
This commit is contained in:
parent
f42f1ac777
commit
b5b5d13199
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in
|
||||
|
@ -16,7 +16,9 @@ in
|
|||
networkFiles = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
description = "The files for configuring the networks.";
|
||||
default = builtins.mapAttrs (name: network: lib.generators.toINI { listsAsDuplicateKeys = true; } network);
|
||||
default = builtins.mapAttrs
|
||||
(name: network: lib.generators.toINI { listsAsDuplicateKeys = true; } network)
|
||||
config.valhalla.linux.programs.systemd-networkd.networks;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue