nixos/*: escape config reference in examples and descriptions

This commit is contained in:
pennae
2021-12-02 22:35:05 +01:00
parent 2512455639
commit 3e9c5fc8ca
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ in
description = ''
The name of the savegame that will be used by the server.
When not present in ${stateDir}/saves, a new map with default
settings will be generated before starting the service.
When not present in /var/lib/''${config.services.factorio.stateDirName}/saves,
a new map with default settings will be generated before starting the service.
'';
};
# TODO Add more individual settings as nixos-options?
+1 -1
View File
@@ -121,7 +121,7 @@ in {
moin = {
type = "normal";
pythonPackages = self: with self; [ moinmoin ];
socket = "${config.services.uwsgi.runDir}/uwsgi.sock";
socket = "''${config.services.uwsgi.runDir}/uwsgi.sock";
};
};
}