mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Update ssh keys
This commit is contained in:
parent
3893ba3de1
commit
da51a4997b
2 changed files with 9 additions and 3 deletions
|
|
@ -1,8 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.custom.services.openssh;
|
||||
in {
|
||||
options.custom.services.openssh = { enable = mkEnableOption "openssh"; };
|
||||
let
|
||||
cfg = config.custom.services.openssh;
|
||||
in
|
||||
{
|
||||
options.custom.services.openssh = {
|
||||
enable = mkEnableOption "openssh";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.openssh.enable = true;
|
||||
|
|
@ -10,6 +14,7 @@ in {
|
|||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||
../ssh_keys/froidmpa-desktop.pub
|
||||
../ssh_keys/froidmpa-laptop.pub
|
||||
../ssh_keys/phfroidmont-stellaris.pub
|
||||
../ssh_keys/elios-desktop.pub
|
||||
];
|
||||
};
|
||||
|
|
|
|||
1
ssh_keys/phfroidmont-stellaris.pub
Normal file
1
ssh_keys/phfroidmont-stellaris.pub
Normal file
|
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk6GUenOaMxf0YquxEPubN5zjrfHvqw76IYXxD9NUo6 phfroidmont@stellaris-2025-09-09
|
||||
Loading…
Add table
Add a link
Reference in a new issue