Merge branch 'main' of github.com:fwastring/nix

This commit is contained in:
fwastring 2025-09-19 16:57:08 +02:00
commit a6e1b359ef
7 changed files with 61 additions and 3 deletions

View file

@ -9,7 +9,8 @@ let
in
{
programs.k9s = {
enable = true;
# enable = true;
enable = false;
settings = {
k9s.ui.skin = "catppuccin-latte";
};

36
moduler/wedding.nix Normal file
View file

@ -0,0 +1,36 @@
{
config,
inputs,
pkgs,
...
}:
let
in
{
sops.secrets.github_password = { };
virtualisation.oci-containers = {
backend = "podman";
containers = {
wedding = {
login = {
username = "fwastring";
passwordFile = config.sops.secrets.github_password.path;
registry = "https://ghcr.io";
};
image = "ghcr.io/fwastring/wedding:8eed91e3c05fde5f826f25de4c7bccdbc312caef";
ports = [ "127.0.0.1:8083:8080" ];
};
};
};
services.nginx = {
virtualHosts."wedding.wastring.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8083";
proxyWebsockets = true;
};
};
};
}