feat: updates ?

This commit is contained in:
Xavier Morel
2026-06-24 15:56:42 +02:00
parent ab98aeb897
commit 16eded0455
25 changed files with 109 additions and 83 deletions
+3 -5
View File
@@ -1,14 +1,12 @@
{
config,
tools,
lib,
...
}:
let
cfg = config.my-lxc;
in
{
proxmox_lxc = lib.mapAttrs (
proxmox_lxc = builtins.mapAttrs (
name: def:
let
c = def.container;
@@ -25,7 +23,7 @@ in
network = {
name = "eth0";
bridge = "vmbr0";
ip = tools.build_ip_cidr name;
ip = "192.168.1.${name}";
gw = config.globals.gateway;
type = "veth";
};
@@ -37,7 +35,7 @@ in
};
swap = c.swap;
vmid = config.id.${name};
tags = lib.strings.join ";" ([ "terraform" ] ++ c.tags);
tags = builtins.strings.join ";" ([ "terraform" ] ++ c.tags);
}
// c.overrides
) cfg;
-9
View File
@@ -334,15 +334,6 @@ in
(import ./containers-terraform-proxmox.nix { inherit config tools lib; })
(import ./containers-terraform-authentik.nix { inherit config tools lib; })
];
tf.data.authentik_outpost.embedded = {
name = "authentik Embedded Outpost";
};
tf.data.authentik_flow.default-authorization-flow = {
slug = "default-provider-authorization-implicit-consent";
};
tf.data.authentik_flow.default-invalidation-flow = {
slug = "default-provider-invalidation-flow";
};
nixosModule = lib.mapAttrs (
container: def: