cleanup
This commit is contained in:
@@ -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;
|
||||
|
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user