Compare commits
4 Commits
217b6dfa27
...
7ae9d39e7a
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ae9d39e7a | |||
| 26e6616d8c | |||
| c92eb7a1d7 | |||
| 30213d9e7d |
@ -23,6 +23,7 @@
|
||||
./services/authelia.nix
|
||||
./services/gitea.nix
|
||||
./services/gitea-runner.nix
|
||||
./services/homeassistant.nix
|
||||
./services/homepage.nix
|
||||
./services/immich.nix
|
||||
./services/kopia.nix
|
||||
@ -174,6 +175,7 @@
|
||||
nnn
|
||||
busybox
|
||||
glances
|
||||
ripgrep
|
||||
|
||||
docker-compose
|
||||
];
|
||||
|
||||
@ -14,8 +14,8 @@
|
||||
# DNS server
|
||||
"53:53/tcp"
|
||||
"53:53/udp"
|
||||
"853:853/tcp" # DNS over TLS
|
||||
"853:853/udp" # DNS over QUIC
|
||||
# "853:853/tcp" # DNS over TLS
|
||||
# "853:853/udp" # DNS over QUIC
|
||||
|
||||
# DHCP server
|
||||
# "67:67/udp"
|
||||
|
||||
@ -1,37 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.gitlab = {
|
||||
image = "gitlab/gitlab-ce";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
# "80:80"
|
||||
# "443:443"
|
||||
"2222:22" # SSH
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"gitlab_config:/etc/gitlab"
|
||||
"gitlab_logs:/var/log/gitlab"
|
||||
"gitlab_data:/var/opt/gitlab"
|
||||
];
|
||||
|
||||
environment = {
|
||||
GITLAB_OMNIBUS_CONFIG = "external_url 'https://gitlab.local.chriphost.de:443'; gitlab_rails['gitlab_shell_ssh_port'] = 2222;";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
"--net=behind-nginx"
|
||||
"--shm-size=256m"
|
||||
];
|
||||
};
|
||||
}
|
||||
32
ServeNix/services/homeassistant.nix
Normal file
32
ServeNix/services/homeassistant.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.homeassistant = {
|
||||
image = "lscr.io/linuxserver/homeassistant:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
|
||||
ports = [
|
||||
# "8123:8123" # WebUI
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"homeassistant_config:/config"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = "1000";
|
||||
PGID = "1000";
|
||||
TZ = "Europe/Berlin";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
"--net=behind-nginx"
|
||||
"--device=/dev/ttyUSB0:/dev/ttyUSB0" # Sonoff Zigbee Stick
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -8,12 +8,7 @@
|
||||
image = "fallenbagel/jellyseerr:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
# "sonarr"
|
||||
# "radarr"
|
||||
# "jellyfin"
|
||||
];
|
||||
dependsOn = [];
|
||||
|
||||
ports = [
|
||||
"5055:5055"
|
||||
|
||||
Reference in New Issue
Block a user