Update config and option names for modules
This commit is contained in:
parent
fe508bd127
commit
bb9b77e2f8
54 changed files with 122 additions and 120 deletions
|
@ -9,12 +9,12 @@ with lib;
|
|||
|
||||
let
|
||||
cfg = homelab.services.${service};
|
||||
homelab = config.homelab;
|
||||
homelab = config.features.homelab;
|
||||
opts = options.services.${service};
|
||||
service = "homepage-dashboard";
|
||||
in
|
||||
{
|
||||
options.homelab.services.${service} = {
|
||||
options.features.homelab.services.${service} = {
|
||||
enable = mkEnableOption "Enable ${service}";
|
||||
|
||||
port = mkOption {
|
||||
|
|
|
@ -4,11 +4,11 @@ with lib;
|
|||
|
||||
let
|
||||
cfg = homelab.services.${service};
|
||||
homelab = config.nixosModules.homelab;
|
||||
homelab = config.features.homelab;
|
||||
service = "uptime-kuma";
|
||||
in
|
||||
{
|
||||
options.nixosModules.homelab.services.${service} = {
|
||||
options.features.homelab.services.${service} = {
|
||||
enable = mkEnableOption "Enable ${service}";
|
||||
|
||||
url = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue