diff options
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/nheko/default.nix | 4 | ||||
-rw-r--r-- | secrets/default.nix | 5 | ||||
-rw-r--r-- | todo.md | 1 |
3 files changed, 7 insertions, 3 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"; diff --git a/secrets/default.nix b/secrets/default.nix index 661f51f5..5462e4d8 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -1,5 +1,8 @@ {config, ...}: { - age.secrets.nheko = { + age = { + identityPaths = ["/home/soispha/.ssh/id_ed25519"]; + secrets.nheko = { file = ./nheko; + }; }; } diff --git a/todo.md b/todo.md index c98becb0..ec74c779 100644 --- a/todo.md +++ b/todo.md @@ -1,5 +1,6 @@ # Services to add [ ] QEMU [ ] Transfer the last user configs + [ ] secret token for nheko [ ] Go through the system configs [ ] Swap |