Merge branch 'master' of git.az-gruppe.com:AZ-Intec-GmbH/AZ-NIX
This commit is contained in:
commit
7a0c3428b6
@ -43,6 +43,30 @@
|
|||||||
# '')
|
# '')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
difftastic.enable = true;
|
||||||
|
userName = "sascha.koenig";
|
||||||
|
userEmail = "sascha.koenig@azintec.com";
|
||||||
|
aliases = {
|
||||||
|
st = "status";
|
||||||
|
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
|
||||||
|
};
|
||||||
|
extraConfig = {
|
||||||
|
core.excludesfile = "~/.gitignore_global";
|
||||||
|
init.defaultBranch = "master";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.jujutsu = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
user = {
|
||||||
|
email = "sascha.koenig@azintec.com";
|
||||||
|
name = "Sascha Koenig";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
home.file = {
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./n8n.nix
|
./n8n.nix
|
||||||
|
./ntfy.nix
|
||||||
./outline.nix
|
./outline.nix
|
||||||
./postgres.nix
|
./postgres.nix
|
||||||
./traefik.nix
|
./traefik.nix
|
||||||
|
|||||||
29
hosts/AZ-CLD-1/services/ntfy.nix
Normal file
29
hosts/AZ-CLD-1/services/ntfy.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{config, ...}: {
|
||||||
|
services.ntfy-sh = {
|
||||||
|
enable = true;
|
||||||
|
settings.base-url = "https://ping.az-gruppe.com";
|
||||||
|
settings = {
|
||||||
|
listen-http = ":3033";
|
||||||
|
auth-file = "/var/lib/ntfy-sh/user.db";
|
||||||
|
auth-default-access = "deny-all";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Traefik configuration specific to littlelink
|
||||||
|
services.traefik.dynamicConfigOptions.http = {
|
||||||
|
services.ntfy-sh.loadBalancer.servers = [
|
||||||
|
{
|
||||||
|
url = "http://localhost:3033/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
routers.ntfy-sh = {
|
||||||
|
rule = "Host(`ping.az-gruppe.com`)";
|
||||||
|
tls = {
|
||||||
|
certResolver = "ionos";
|
||||||
|
};
|
||||||
|
service = "ntfy-sh";
|
||||||
|
entrypoints = "websecure";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user