fix lints
All checks were successful
Lint / lint (push) Successful in 1m18s
Plex Update / update (push) Successful in 1m44s

This commit is contained in:
Vivian 2023-11-13 17:39:38 +01:00
parent c45df4dc1f
commit dddcf0d8c6
2 changed files with 33 additions and 31 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, ... }: {
hardware = {
enableAllFirmware = true;
nvidia = {

View file

@ -17,16 +17,12 @@ in {
networking.firewall.allowedTCPPorts = [ 8484 ];
environment.systemPackages = with pkgs; [ sqlite ];
virtualisation = {
virtualisation.podman.enable = true;
virtualisation.oci-containers.backend = "podman";
podman.enable = true;
oci-containers.backend = "podman";
vault-secrets.secrets.grist = {
quoteEnvironmentValues = false; # Needed for docker
services = [ "podman-grist" ];
};
virtualisation.oci-containers.containers.grist = {
oci-containers.containers.grist = {
image =
"gristlabs/grist:latest"; # Switch to versioned release as soon as OIDC hits stable
environment = {
@ -53,4 +49,10 @@ in {
ports = [ "8484:8484" ];
volumes = [ "/var/lib/grist:/persist" ];
};
};
vault-secrets.secrets.grist = {
quoteEnvironmentValues = false; # Needed for docker
services = [ "podman-grist" ];
};
}