make replacables obvious in templates

This commit is contained in:
wi11-holdsworth 2025-08-20 11:27:28 +10:00
parent d9dbd93208
commit 3dc581ac56
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, ... }: { config, lib, ... }:
let let
feature = "feature"; feature = "replace";
in in
{ {
config = lib.mkIf config.${feature}.enable { config = lib.mkIf config.${feature}.enable {

View file

@ -1,13 +1,13 @@
{ config, lib, ... }: { config, lib, ... }:
let let
feature = "feature"; feature = "replace";
port = "port"; port = "port";
in in
{ {
config = lib.mkIf config.${feature}.enable { config = lib.mkIf config.${feature}.enable {
services = { services = {
# service # service
feature = { replace = {
enable = true; enable = true;
}; };