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 = {
|
||||
backend = "docker";
|
||||
|
||||
# Authelia
|
||||
containers."authelia" = {
|
||||
image = "authelia/authelia:latest";
|
||||
volumes = [
|
||||
|
|
@ -16,6 +17,7 @@
|
|||
extraOptions = "--restart unless-stopped";
|
||||
};
|
||||
|
||||
# Go2RTC
|
||||
containers."go2rtc" = {
|
||||
image = "blakeblackshear/go2rtc:latest";
|
||||
volumes = [
|
||||
|
|
@ -25,5 +27,10 @@
|
|||
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