From 8c53d0e4c6dcd133f60423f2d1a574045e20f741 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 16 Feb 2023 14:15:13 -0800 Subject: ref(modules/users): move ssh keys to a separate file Each key is associated to a variable, which let me be more specific about which key to use depending on the context. --- home/git/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home/git') diff --git a/home/git/default.nix b/home/git/default.nix index bfb6fd8..f5fd924 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -1,6 +1,9 @@ { lib, config, pkgs, ... }: -let cfg = config.my.home.git; +let + inherit (builtins) readFile fromTOML; + cfg = config.my.home.git; + sshPub = fromTOML (readFile ./../../../configs/ssh-pubkeys.toml); in { options.my.home.git = with lib; { -- cgit 1.4.1