move old nixos-config over here

This commit is contained in:
Daniel Lundin 2024-08-02 14:09:42 +02:00
parent 346d80ae7e
commit 54baace7c1
No known key found for this signature in database
35 changed files with 850 additions and 44 deletions
home/common

14
home/common/ssh.nix Normal file
View file

@ -0,0 +1,14 @@
{ ... }:
{
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
compression = false;
controlMaster = "auto";
controlPath = "\${XDG_RUNTIME_DIR}/ssh_control:%h:%p:%r";
controlPersist = "15m";
extraConfig = ''
PreferredAuthentications publickey
'';
};
}