1
0
mirror of https://github.com/kmein/niveum synced 2026-03-21 12:21:08 +01:00

improvement: use lib.strings.fileContents wherever possible

This commit is contained in:
Kierán Meinhardt
2019-09-11 07:33:27 +02:00
parent 890da6c00d
commit ddb465367e
4 changed files with 10 additions and 12 deletions

View File

@@ -6,7 +6,7 @@
enable = true;
user = "kmein";
host = "192.168.178.28";
key = lib.strings.removeSuffix "\n" (builtins.readFile <shared-secrets/traadfri.key>);
key = lib.strings.fileContents <shared-secrets/traadfri.key>;
rooms = {
bedroom = 131074;
corridor = 131076;