From c65cd1836c18d0acbb9d347fe45e0b288dced3ce Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 25 Feb 2023 13:34:20 +0100 Subject: Feat(system): Add openssh access --- system/users/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/users/default.nix b/system/users/default.nix index d5b69814..adff5df3 100644 --- a/system/users/default.nix +++ b/system/users/default.nix @@ -25,8 +25,14 @@ in { createHome = true; shell = pkgs.zsh; initialHashedPassword = cfg.hashedPassword; - extraGroups = ["wheel"]; + extraGroups = [ + "wheel" + "networkmanager" # if I activate network-manager, this will help + ]; uid = 1000; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBFuTNNn71Rhfnop2cdz3r/RhWWlCePnSBOhTBbu2ME soispha" + ]; }; }; # system.activationScripts.home_permissions = -- cgit 1.4.1