store ssh keys in ~/private, where they're encrypted
This commit is contained in:
parent
c833c68d83
commit
1721546410
|
@ -93,6 +93,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# ssh key is stored in private storage
|
||||
home.file.".ssh/id_ed25519".source = config.lib.file.mkOutOfStoreSymlink "/home/colin/private/.ssh/id_ed25519";
|
||||
home.file.".ssh/id_ed25519.pub".text = (import ../pubkeys.nix)."${sysconfig.networking.hostName}";
|
||||
|
||||
# XDG defines things like ~/Desktop, ~/Downloads, etc.
|
||||
# these clutter the home, so i mostly don't use them.
|
||||
xdg.userDirs = {
|
||||
|
|
|
@ -70,7 +70,6 @@ in
|
|||
".cache"
|
||||
".cargo"
|
||||
".rustup"
|
||||
".ssh"
|
||||
".local/share/keyrings"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user