nixos-config/templates/sample-nixos-template/hosts/desktop/default.nix

28 lines
571 B
Nix
Raw Normal View History

2023-05-24 10:54:07 +00:00
{ config, lib, pkgs, ... }:
{
fileSystems."/".label = "root";
fileSystems."/boot".label = "boot";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2023-05-24 10:54:07 +00:00
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" ];
};
2023-05-24 10:54:07 +00:00
}