add yubikey ssh key

This commit is contained in:
Noa Aarts 2025-11-21 10:51:09 +01:00
parent 1638ed6c6a
commit 841c4fface
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -58,9 +58,8 @@ in
file = { file = {
# makes yubikey stuff work # makes yubikey stuff work
".gnupg/scdaemon.conf".text = "disable-ccid"; ".gnupg/scdaemon.conf".text = "disable-ccid";
".ssh/id_rsa_yubikey.pub".text = builtins.elemAt (import ../ssh-keys.nix) 0;
# I don't want the directory directly in home, even though I only go to it via the symlink # I don't want the directory directly in home, even though I only go to it via the symlink
"programming".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Documents/programming/";
}; };
# haha, now I can set my home folder like this # haha, now I can set my home folder like this
homeDirectory = "/home/${me.nickname}"; homeDirectory = "/home/${me.nickname}";