From 2d3da16421a32fb1685eaf67c7faaa179e27d23e Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 19 Feb 2023 14:29:47 +0100 Subject: Fix: Further improve the secret handling --- home-manager/config/nheko/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home-manager/config') diff --git a/home-manager/config/nheko/default.nix b/home-manager/config/nheko/default.nix index b7f88378..176a8a3c 100644 --- a/home-manager/config/nheko/default.nix +++ b/home-manager/config/nheko/default.nix @@ -2,7 +2,7 @@ config, pkgs, lib, - agenix, + nixosConfig, ... }: { programs.nheko = { @@ -12,7 +12,7 @@ auth = { # TODO This saves the token world readable in the store, but I don't see a better option yet - access_token = builtins.readFile (lib.replaceStrings ["\n"] [""] config.age.secrets.nheko.path); + #access_token = lib.replaceStrings ["\n"] [""] (builtins.readFile "${nixosConfig.age.secrets.nheko.path}"); device_id = "BAEZYLUEKE"; home_server = "https://matrix.sils.li:443"; user_id = "@@ene:sils.li"; -- cgit 1.4.1