Update go2rtc.nix
This commit is contained in:
parent
be79eec917
commit
1ecc22e03f
1 changed files with 20 additions and 13 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
backend = "docker";
|
backend = "docker";
|
||||||
|
|
||||||
|
# Authelia
|
||||||
containers."authelia" = {
|
containers."authelia" = {
|
||||||
image = "authelia/authelia:latest";
|
image = "authelia/authelia:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
@ -16,6 +17,7 @@
|
||||||
extraOptions = "--restart unless-stopped";
|
extraOptions = "--restart unless-stopped";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Go2RTC
|
||||||
containers."go2rtc" = {
|
containers."go2rtc" = {
|
||||||
image = "blakeblackshear/go2rtc:latest";
|
image = "blakeblackshear/go2rtc:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
@ -25,5 +27,10 @@
|
||||||
extraOptions = "--restart unless-stopped";
|
extraOptions = "--restart unless-stopped";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# Create directories for local secrets
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /home/fred/docker/authelia/secrets 0700 fred users -"
|
||||||
|
"d /home/fred/docker/go2rtc 0755 fred users -"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue