aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 13:34:20 +0100
committerene <ene@sils.li>2023-02-25 13:37:15 +0100
commitc65cd1836c18d0acbb9d347fe45e0b288dced3ce (patch)
tree8d1e40b4c19fa637e39a0544f6a3fe811794f29c /system
parentFix(hosts): Fix the networkmanager for mammun (diff)
downloadnixos-config-c65cd1836c18d0acbb9d347fe45e0b288dced3ce.zip
Feat(system): Add openssh access
Diffstat (limited to 'system')
-rw-r--r--system/users/default.nix8
1 files changed, 7 insertions, 1 deletions
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 =