Added lots of stuff
This commit is contained in:
parent
35fd1799a2
commit
319b39a5c1
8 changed files with 97 additions and 39 deletions
|
@ -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
36
moduler/wedding.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue