diff --git a/templates/sample-nixos-template/hosts/desktop/default.nix b/templates/sample-nixos-template/hosts/desktop/default.nix index c9676c2c..f603f07e 100644 --- a/templates/sample-nixos-template/hosts/desktop/default.nix +++ b/templates/sample-nixos-template/hosts/desktop/default.nix @@ -8,4 +8,20 @@ boot.loader.efi.canTouchEfiVariables = true; system.stateVersion = "23.05"; + + services.openssh = { + enable = true; + settings.PermitRootLogin = "yes"; + }; + + users.users.nixos = { + isNormalUser = true; + extraGroups = [ "wheel" "networkmanager" "audio" ]; + initialHashedPassword = ""; + }; + + nix = { + package = pkgs.nixUnstable; + settings.experimental-features = [ "nix-command" "flakes" ]; + }; }