diff --git a/flake.nix b/flake.nix index c406989..bf41ed2 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,10 @@ nixpkgs.hostPlatform = "${system}"; system.stateVersion = "${stateVersion}"; time.timeZone = "${timeZone}"; - users.users.${user}.openssh.authorizedKeys.keyFiles = [ "/root/.ssh/authorized_keys" ]; + users.users.${user} = { + isNormalUser = true; + openssh.authorizedKeys.keyFiles = [ "/root/.ssh/authorized_keys" ]; + }; }) ]; };