feat: add flux
This commit is contained in:
parent
ef9db173d3
commit
0d076c4c13
0
apps/base/.keep
Normal file
0
apps/base/.keep
Normal file
0
cluster/base/.keep
Normal file
0
cluster/base/.keep
Normal file
@ -64,7 +64,7 @@
|
||||
};
|
||||
|
||||
nixosConfigurations = let
|
||||
nodes = ["premhome-falcon-1" "premhome-falcon-2" "premhome-falcon-3"];
|
||||
nodes = ["premhome-falcon-1" "premhome-falcon-2" "premhome-falcon-3" "premhome-eagle-1" "premhome-eagle-2"];
|
||||
in builtins.listToAttrs (map (name: {
|
||||
name = name;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
@ -87,8 +87,7 @@
|
||||
nodeNixpkgs = builtins.mapAttrs (name: value: value.pkgs) configs;
|
||||
nodeSpecialArgs = builtins.mapAttrs (name: value: value._module.specialArgs) configs;
|
||||
};
|
||||
} // builtins.mapAttrs (name: value: { imports = value._module.args.modules;
|
||||
}) configs;
|
||||
} // builtins.mapAttrs (name: value: { imports = value._module.args.modules; }) configs;
|
||||
} // flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
@ -101,6 +100,10 @@
|
||||
pkgs.colmena
|
||||
pkgs.shellcheck
|
||||
agenix.packages.${system}.default
|
||||
pkgs.ansible
|
||||
pkgs.kubernetes-helm
|
||||
pkgs.helmfile
|
||||
pkgs.fluxcd
|
||||
];
|
||||
};
|
||||
};
|
||||
|
0
infra/base/.keep
Normal file
0
infra/base/.keep
Normal file
BIN
nixos/secrets/flux.age
Normal file
BIN
nixos/secrets/flux.age
Normal file
Binary file not shown.
@ -4,4 +4,5 @@ in
|
||||
{
|
||||
"tailscale.age".publicKeys = builtins.attrValues keys;
|
||||
"k3s.age".publicKeys = builtins.attrValues keys;
|
||||
"flux.age".publicKeys = [ keys.yadunut keys.yadunut-mbp ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user