mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46: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, ... }:
|
{ config, lib, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let cfg = config.custom.services.openssh;
|
let
|
||||||
in {
|
cfg = config.custom.services.openssh;
|
||||||
options.custom.services.openssh = { enable = mkEnableOption "openssh"; };
|
in
|
||||||
|
{
|
||||||
|
options.custom.services.openssh = {
|
||||||
|
enable = mkEnableOption "openssh";
|
||||||
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
@ -10,6 +14,7 @@ in {
|
||||||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||||
../ssh_keys/froidmpa-desktop.pub
|
../ssh_keys/froidmpa-desktop.pub
|
||||||
../ssh_keys/froidmpa-laptop.pub
|
../ssh_keys/froidmpa-laptop.pub
|
||||||
|
../ssh_keys/phfroidmont-stellaris.pub
|
||||||
../ssh_keys/elios-desktop.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