run gradient server and worker all in one
This commit is contained in:
parent
20b1103a6c
commit
b5329ad61f
3 changed files with 38 additions and 11 deletions
|
|
@ -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; };
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue