podman auto update
This commit is contained in:
parent
47017b65f2
commit
9b48143208
|
@ -8,14 +8,21 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
# Automatically `podman system prune` weekly
|
# Automatically `podman system prune` weekly
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
# Required for containers under podman-compose to be able to talk to each
|
|
||||||
# other.
|
|
||||||
defaultNetwork.settings = {
|
defaultNetwork.settings = {
|
||||||
|
# DNS is required for containers under podman-compose to be able to talk
|
||||||
|
# to each other.
|
||||||
dns_enabled = true;
|
dns_enabled = true;
|
||||||
ipv6_enabled = true;
|
ipv6_enabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Auto-update containers
|
||||||
|
# https://docs.podman.io/en/latest/markdown/podman-auto-update.1.html
|
||||||
|
systemd = {
|
||||||
|
timers.podman-auto-update.enable = true;
|
||||||
|
units."podman-auto-update.timer".wantedBy = ["timers.target"];
|
||||||
|
};
|
||||||
|
|
||||||
# Persist docker volumes
|
# Persist docker volumes
|
||||||
environment.persistence."/nix/persist" = {
|
environment.persistence."/nix/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
|
|
Loading…
Reference in a new issue