about summary refs log tree commit diff
path: root/home/git
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-02-16 14:15:13 -0800
committerFranck Cuny <franck@fcuny.net>2023-02-20 13:48:36 -0800
commit8c53d0e4c6dcd133f60423f2d1a574045e20f741 (patch)
treef3cd97d7812fb46b4d6fae0f0b0d1e5cca0645e5 /home/git
parentfeat(modules/pcscd): install the pcscd daemon (diff)
downloadworld-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/git')
-rw-r--r--home/git/default.nix5
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; {