Replaced 'builtins.readFile' with 'lib.fileContents'.
This commit is contained in:
parent
a3929a8ec5
commit
097981466e
4 changed files with 5 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
giteapwd = if config.services.gitea.enable then (builtins.readFile /secret/gitea) else "";
|
||||
giteapwd = if config.services.gitea.enable then (fileContents /secret/gitea) else "";
|
||||
in mkIf (elem "mariaDB" config.machine.services) {
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue