run gradient server and worker all in one

This commit is contained in:
goeranh 2026-05-03 13:50:47 +02:00
parent 20b1103a6c
commit b5329ad61f
No known key found for this signature in database
3 changed files with 38 additions and 11 deletions

View file

@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
authentik = {
url = "github:nix-community/authentik-nix";
inputs.nixpkgs.follows = "nixpkgs";
@ -29,12 +30,13 @@
{
self,
nixpkgs,
nixpkgs-unstable,
authentik,
mailserver,
disko,
sops,
gradient
}:
}@inputs:
let
sshkeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINABEf0jBjtDdezDDtvl1v27l0DbHP2XUgMARTZXC+MR goeranh@node5"
@ -181,7 +183,7 @@
result: input:
result
// {
"${input}" = nixpkgs.lib.nixosSystem {
"${input}" = nixpkgs-unstable.lib.nixosSystem {
system = "x86_64-linux";
modules =
let
@ -197,7 +199,7 @@
gradient.nixosModules.default
sops.nixosModules.sops
{
_module.args = { inherit self modulesPath; };
_module.args = { inherit self inputs modulesPath; };
}
];
};