diff options
author | ene <ene@sils.li> | 2023-02-19 14:29:47 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-19 14:29:47 +0100 |
commit | 2d3da16421a32fb1685eaf67c7faaa179e27d23e (patch) | |
tree | 27d56115ab9239bc7eb11d16ea63e7ca1ef60ac4 /home-manager | |
parent | Fix(home-manager): Remove typos (diff) | |
download | nixos-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.nix | 4 |
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"; |