feat(home:ssh): add github to ssh knownhosts

This commit is contained in:
ooks-io 2024-06-24 14:14:52 +12:00
parent ea5054789d
commit f0bd3f97af
4 changed files with 16 additions and 8 deletions

View file

@ -20,5 +20,11 @@ in
group = "users";
mode = "400";
};
github_key = mkIf admin.homeManager {
file = "${self}/secrets/github_key.age";
path = "/home/${admin.name}/.ssh/github_key";
owner = "${admin.name}";
group = "users";
};
};
}