forked from katzen-cafe/katzen-cafe
forgejo!
This commit is contained in:
parent
530087cf05
commit
f0546c8a59
6 changed files with 84 additions and 6 deletions
12
flake.nix
12
flake.nix
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
||||
nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
arion.url = "github:hercules-ci/arion";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
outputs = { self, nixpkgs, nixpkgsUnstable, ... }@inputs:
|
||||
let
|
||||
hostPkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
in {
|
||||
|
@ -20,10 +21,14 @@
|
|||
};
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgsUnstable = import nixpkgsUnstable {
|
||||
system = "aarch64-linux";
|
||||
overlays = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
katzencafe = { name, nodes, pkgs, inputs, ... }: {
|
||||
katzencafe = { name, nodes, pkgs, pkgsUnstable, inputs, ... }: {
|
||||
deployment = {
|
||||
targetHost = "katzen.cafe";
|
||||
buildOnTarget = true;
|
||||
|
@ -32,9 +37,10 @@
|
|||
./modules/base-stuff.nix
|
||||
./modules/proxy.nix
|
||||
./modules/postgres.nix
|
||||
./modules/jitsi.nix
|
||||
#./modules/jitsi.nix
|
||||
./modules/containers
|
||||
./modules/keycloak.nix
|
||||
./modules/forgejo.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue