feat: standardise all services to using `services.skynet."${name}";
` format
This commit is contained in:
parent
54b43c9962
commit
f8c7860eb5
25 changed files with 64 additions and 48 deletions
|
@ -5,7 +5,8 @@
|
|||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.services.skynet_ulfm;
|
||||
name = "ulfm";
|
||||
cfg = config.services.skynet."${name}";
|
||||
in {
|
||||
imports = [
|
||||
./acme.nix
|
||||
|
@ -14,7 +15,7 @@ in {
|
|||
./nginx.nix
|
||||
];
|
||||
|
||||
options.services.skynet_ulfm = {
|
||||
options.services.skynet."${name}" = {
|
||||
enable = mkEnableOption "ULFM service";
|
||||
|
||||
host = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue