🚀 add ssh authorized keys
This commit is contained in:
parent
fb398e001a
commit
5aa2803627
2 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./bin ./adb.nix ./direnv.nix ./git.nix ./nix.nix ./zsh.nix ];
|
||||
imports =
|
||||
[ ./bin ./adb.nix ./direnv.nix ./git.nix ./nix.nix ./ssh.nix ./zsh.nix ];
|
||||
home-manager.users.moritz = {
|
||||
home.packages = with pkgs; [
|
||||
# archives
|
||||
|
|
7
modules/cli/ssh.nix
Normal file
7
modules/cli/ssh.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.moritz.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGoAqa2m7hIzZ2LS96Z+RCIlRvhBM/j7h27tMBCwMT+a moritz@nixos-laptop"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue