mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 21:18:18 -04:00
added ssh_decrypt
This commit is contained in:
12
systems/common/optional/ssh_decrypt.nix
Normal file
12
systems/common/optional/ssh_decrypt.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
boot.initrd.network = {
|
||||||
|
enable = true;
|
||||||
|
ssh = {
|
||||||
|
enable = true;
|
||||||
|
port = 2222;
|
||||||
|
hostKeys = [ "/etc/ssh/initrd_ssh_host_ed25519_key" ];
|
||||||
|
authorizedKeys = config.users.users.richie.openssh.authorizedKeys.keys;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -6,6 +6,7 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
../../users/richie
|
../../users/richie
|
||||||
../common/global
|
../common/global
|
||||||
|
../common/optional/ssh_decrypt.nix
|
||||||
../common/optional/syncthing_base.nix
|
../common/optional/syncthing_base.nix
|
||||||
../common/optional/systemd-boot.nix
|
../common/optional/systemd-boot.nix
|
||||||
../common/optional/zerotier.nix
|
../common/optional/zerotier.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user