templates/sample-nixos-template: update desktop template

This commit is contained in:
Gabriel Arazas 2023-11-11 17:52:36 +08:00
parent 2f10b2e043
commit 75e393dd02
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -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" ];
};
}