configuration: use lib.fileContents
This commit is contained in:
parent
bb3532eb8a
commit
1ac3cb09b7
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
borg-backup = {
|
borg-backup = {
|
||||||
enable = true;
|
enable = true;
|
||||||
repo = (lib.removeSuffix "\n" (builtins.readFile ./secrets/borg-backup-repo));
|
repo = lib.fileContents ./secrets/borg-backup-repo;
|
||||||
};
|
};
|
||||||
|
|
||||||
gitea = {
|
gitea = {
|
||||||
|
@ -95,10 +95,9 @@
|
||||||
|
|
||||||
matrix = {
|
matrix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
registration_shared_secret =
|
registration_shared_secret = (
|
||||||
(lib.removeSuffix "\n" (
|
lib.fileContents ./secrets/matrix-registration-shared-secret
|
||||||
builtins.readFile ./secrets/matrix-registration-shared-secret
|
);
|
||||||
));
|
|
||||||
};
|
};
|
||||||
|
|
||||||
monitoring = {
|
monitoring = {
|
||||||
|
|
Loading…
Reference in a new issue