fix(infra): typo enabled → enable
This commit is contained in:
parent
8129b26c4c
commit
c7b9a8d839
2 changed files with 3 additions and 3 deletions
2
hive.nix
2
hive.nix
|
@ -51,7 +51,7 @@ in
|
|||
services.openssh.enable = true;
|
||||
networking.nftables.enable = true;
|
||||
|
||||
infra.enabled = true;
|
||||
infra.enable = true;
|
||||
backups.enable = true;
|
||||
|
||||
# Enable system diffs.
|
||||
|
|
|
@ -99,7 +99,7 @@ let
|
|||
};
|
||||
in {
|
||||
options.infra = {
|
||||
enabled = lib.mkEnableOption "Réseau INFRA";
|
||||
enable = lib.mkEnableOption "Réseau INFRA";
|
||||
hub = lib.mkOption {
|
||||
type = lib.types.nullOr (lib.types.submodule {
|
||||
options = {
|
||||
|
@ -144,7 +144,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enabled {
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.network = lib.mkMerge [
|
||||
(lib.mkIf isHub hubNetwork)
|
||||
(lib.mkIf (!isHub) leafNetwork)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue