mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Remove unnecessary module from glauth module
This commit is contained in:
parent
9d01dca869
commit
250399c2b7
2 changed files with 2 additions and 7 deletions
|
|
@ -9,15 +9,10 @@ in
|
|||
type = types.package;
|
||||
default = pkgs.glauth;
|
||||
};
|
||||
outTOML = mkOption {
|
||||
description = "The TOML produced from cfg.settings";
|
||||
type = types.str;
|
||||
default = toTOML cfg.settings;
|
||||
};
|
||||
configFile = mkOption {
|
||||
description = "The config path that GLAuth uses";
|
||||
type = types.path;
|
||||
default = pkgs.writeText "glauth-config" cfg.outTOML;
|
||||
default = pkgs.writeText "glauth-config" toTOML cfg.settings;
|
||||
};
|
||||
database = {
|
||||
enable = mkEnableOption "use a database";
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
group = "glauth";
|
||||
};
|
||||
glauth-config-file = {
|
||||
text = config.services.glauth.outTOML;
|
||||
text = toTOML config.services.glauth.settings;
|
||||
owner = "glauth";
|
||||
group = "glauth";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue