about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-19 14:29:47 +0100
committerene <ene@sils.li>2023-02-19 14:29:47 +0100
commit2d3da16421a32fb1685eaf67c7faaa179e27d23e (patch)
tree27d56115ab9239bc7eb11d16ea63e7ca1ef60ac4 /home-manager
parentFix(home-manager): Remove typos (diff)
downloadnixos-config-2d3da16421a32fb1685eaf67c7faaa179e27d23e.tar.gz
nixos-config-2d3da16421a32fb1685eaf67c7faaa179e27d23e.zip
Fix: Further improve the secret handling
Diffstat (limited to '')
-rw-r--r--home-manager/config/nheko/default.nix4
1 files changed, 2 insertions, 2 deletions
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";