fix(meta): Add required stuff for ap01
This commit is contained in:
parent
303f53af0f
commit
a2295953da
2 changed files with 7 additions and 2 deletions
|
@ -182,6 +182,10 @@
|
|||
site = "unknown";
|
||||
adminGroups = [ "fai" ];
|
||||
|
||||
hashedPassword = "$y$j9T$DMOQEWOYFHjNS0myrXp4x/$MG33VSdXGvib.99eN.AbvyVdNNJw4ERjAwK4.ULJe/A";
|
||||
|
||||
stateVersion = null;
|
||||
|
||||
nixpkgs = {
|
||||
system = "zyxel-nwa50ax";
|
||||
version = "unstable";
|
||||
|
|
|
@ -6,6 +6,7 @@ let
|
|||
mkDefault
|
||||
mkIf
|
||||
mkOption
|
||||
optional
|
||||
;
|
||||
|
||||
inherit (lib.types)
|
||||
|
@ -133,7 +134,7 @@ in
|
|||
};
|
||||
|
||||
stateVersion = mkOption {
|
||||
type = str;
|
||||
type = nullOr str;
|
||||
description = ''
|
||||
State version of the node.
|
||||
'';
|
||||
|
@ -205,7 +206,7 @@ in
|
|||
config = {
|
||||
deployment = {
|
||||
tags = [ "infra-${config.site}" ];
|
||||
targetHost = mkIf (builtins.hasAttr name args.config.network) (
|
||||
targetHost = optional (builtins.hasAttr name args.config.network) (
|
||||
let
|
||||
ip = with args.config.network.${name}.addresses; ipv4 ++ ipv6;
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue