This commit is contained in:
Shelvacu
2024-09-18 11:17:15 -07:00
parent 6c2e19d398
commit 2ff3cbe417
2 changed files with 6 additions and 15 deletions

View File

@@ -72,13 +72,6 @@ in
);
config =
{ config, pkgs, ... }:
let
haproxySrc = pkgs.runCommand "extract-haproxy" { } ''
cd `mktemp -d`
tar -xf ${config.services.haproxy.package.src}
mv * $out
'';
in
{
system.stateVersion = "23.11";
users.groups.acme.gid = outer_config.users.groups.acme.gid;

View File

@@ -1,10 +1,8 @@
{ config, pkgs, ... }:
{ ... }:
let
name = "jellyfin";
contain = config.containers.${name};
in
{
systemd.tmpfiles.settings.${name}."/trip/${name}".d = {
mode = "0755";
};
@@ -23,7 +21,7 @@ in
};
config =
{ pkgs, ... }:
{ pkgs, config, ... }:
{
system.stateVersion = "24.05";
@@ -36,10 +34,10 @@ in
dataDir = "/${name}";
};
environment.systemPackages = with pkgs; [
jellyfin
jellyfin-web
jellyfin-ffmpeg
environment.systemPackages = [
config.services.jellyfin.package
pkgs.jellyfin-web
pkgs.jellyfin-ffmpeg
];
};
};