fix: use a better namespace
This commit is contained in:
parent
9f94b5b551
commit
8ea737d57b
3 changed files with 5 additions and 5 deletions
|
@ -18,8 +18,8 @@ with lib; let
|
|||
|
||||
create_skynet_email = accounts: (map (account: "${account}@skynet.ie") accounts);
|
||||
|
||||
create_skynet_email_admin = create_skynet_email config.users.admin;
|
||||
create_skynet_email_committee = create_skynet_email config.users.committee;
|
||||
create_skynet_email_admin = create_skynet_email config.skynet.users.admin;
|
||||
create_skynet_email_committee = create_skynet_email config.skynet.users.committee;
|
||||
in {
|
||||
imports = [
|
||||
./dns.nix
|
||||
|
|
|
@ -91,7 +91,7 @@ in {
|
|||
};
|
||||
|
||||
host_port = "127.0.0.1:${port_backend}";
|
||||
users = config.users;
|
||||
users = config.skynet.users;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
with lib; let
|
||||
port_backend = "8087";
|
||||
in {
|
||||
options = {
|
||||
options.skynet = {
|
||||
users = {
|
||||
admin = mkOption rec {
|
||||
type = types.listOf types.str;
|
||||
|
@ -32,7 +32,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config.skynet = {
|
||||
users = {
|
||||
admin = [
|
||||
"silver"
|
||||
|
|
Loading…
Reference in a new issue