diff --git a/modules/cli/default.nix b/modules/cli/default.nix index 40a64c8..394068d 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -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 diff --git a/modules/cli/ssh.nix b/modules/cli/ssh.nix new file mode 100644 index 0000000..35ca583 --- /dev/null +++ b/modules/cli/ssh.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: + +{ + users.users.moritz.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGoAqa2m7hIzZ2LS96Z+RCIlRvhBM/j7h27tMBCwMT+a moritz@nixos-laptop" + ]; +}