Begin moving openbao and authentik server to new setup
Some checks failed
/ rust-packages (push) Successful in 2m45s
/ systems (push) Failing after 1m40s
/ terraform-providers (push) Successful in 4m2s
/ dev-shell (push) Successful in 54s
/ check (push) Failing after 1m31s

This commit is contained in:
Kaare Hoff Skovgaard 2025-07-14 23:34:02 +02:00
parent a996ba3083
commit 8cd2737aca
Signed by: khs
GPG key ID: C7D890804F01E9F0
43 changed files with 1006 additions and 481 deletions

View file

@ -0,0 +1,25 @@
{ config, lib, ... }:
let
cfg = config.khscodes.machine;
in
rec {
options.khscodes.machine = {
type = lib.mkOption {
type = lib.types.enum [
"server"
"desktop"
];
description = "The kind of machine that is running";
};
};
config = {
home-manager.sharedModules = [
{
inherit options;
config = {
khscodes.desktop.enable = cfg.type == "desktop";
};
}
];
};
}