This commit is contained in:
Joseph Hanson 2024-09-07 06:00:42 -05:00
parent b3ac1e27ef
commit f13bf26c16
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -59,6 +59,9 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
# TODO: Add automatic restarting of the container when disks.nix changes.
# - https://github.com/nix-community/home-manager/issues/3865#issuecomment-1631998032
# - https://github.com/NixOS/nixpkgs/blob/6f6c45b5134a8ee2e465164811e451dcb5ad86e3/nixos/modules/virtualisation/oci-containers.nix
virtualisation.oci-containers.containers.${app} = { virtualisation.oci-containers.containers.${app} = {
image = "ghcr.io/analogj/scrutiny:${version}-omnibus"; image = "ghcr.io/analogj/scrutiny:${version}-omnibus";
autoStart = true; autoStart = true;