1
0
mirror of https://github.com/kmein/niveum synced 2026-03-22 21:01:07 +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

@@ -1,8 +1,8 @@
{ pkgs, lib, ... }:
let
eduroam = {
identity = lib.strings.removeSuffix "\n" (builtins.readFile <shared-secrets/eduroam/identity>);
password = lib.strings.removeSuffix "\n" (builtins.readFile <shared-secrets/eduroam/password>);
identity = lib.strings.fileContents <shared-secrets/eduroam/identity>;
password = lib.strings.fileContents <shared-secrets/eduroam/password>;
};
eduroamAuth = ''
key_mgmt=WPA-EAP