This commit is contained in:
parent
33a30b1d2a
commit
4c4f67360b
|
@ -1,7 +1,4 @@
|
||||||
{
|
{lib, ...}:
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; {
|
with lib; {
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
./system.nix
|
||||||
|
|
|
@ -4,10 +4,11 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
mkStrOption = default: description: mkOption {
|
mkStrOption = default: description:
|
||||||
type = types.str;
|
mkOption {
|
||||||
inherit default description;
|
type = types.str;
|
||||||
};
|
inherit default description;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
options.services.declarative-jellyfin.system = {
|
options.services.declarative-jellyfin.system = {
|
||||||
ServerName = mkStrOption config.networking.hostName ''
|
ServerName = mkStrOption config.networking.hostName ''
|
||||||
|
|
Loading…
Reference in a new issue