Fix issue with port
This commit is contained in:
parent
c9345b178b
commit
fc201fa0ea
1 changed files with 2 additions and 4 deletions
|
@ -2,7 +2,7 @@ self: { config, lib, options, ... }:
|
|||
with lib;
|
||||
let
|
||||
cfg = config.casuallyblue.services.webring;
|
||||
instance = name: { port, vhost, ... }: let
|
||||
instance = name: { port, vhost, user, ... }: let
|
||||
user-name = if user == null then "webring-${name}" else user;
|
||||
in {
|
||||
users = {
|
||||
|
@ -47,8 +47,7 @@ let
|
|||
};
|
||||
};
|
||||
in {
|
||||
options = {
|
||||
casuallyblue.services.webring = mkOption {
|
||||
options.casuallyblue.services.webring = mkOption {
|
||||
default = { };
|
||||
description = ''
|
||||
Instances of the webring to run.
|
||||
|
@ -73,7 +72,6 @@ in {
|
|||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
config = let
|
||||
c = mapAttrsToList instance cfg;
|
||||
|
|
Loading…
Reference in a new issue