fix weather, add unstable-small cause of hyprpaper, update flake, update nas services

This commit is contained in:
mjallen18
2024-09-04 11:24:13 -05:00
parent 64a228fd40
commit 0b6074e7dd
11 changed files with 262 additions and 71 deletions

View File

@@ -0,0 +1,25 @@
{ lib, config, ... }:
with lib;
let
cfg = config.nas-apps.free-games-claimer;
in
{
imports = [ ./options.nix ];
config = mkIf cfg.enable {
virtualisation.oci-containers.containers."${cfg.name}" = {
autoStart = cfg.autoStart;
image = cfg.image;
ports = [ "${cfg.httpPort}:6080" ];
volumes = [
"${cfg.dataPath}:/fgc/data"
];
environment = {
PUID = cfg.puid;
PGID = cfg.pgid;
TZ = cfg.timeZone;
# NOTIFY = "mailto://myemail:mypass@gmail.com";
};
};
};
}