diff options
author | Franck Cuny <franck@fcuny.net> | 2023-02-16 14:15:13 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-02-20 13:48:36 -0800 |
commit | 8c53d0e4c6dcd133f60423f2d1a574045e20f741 (patch) | |
tree | f3cd97d7812fb46b4d6fae0f0b0d1e5cca0645e5 /home | |
parent | feat(modules/pcscd): install the pcscd daemon (diff) | |
download | world-8c53d0e4c6dcd133f60423f2d1a574045e20f741.tar.gz |
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.
Diffstat (limited to 'home')
-rw-r--r-- | home/git/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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; { |