website/hosts/desktop/default.nix
2023-11-05 20:19:00 +08:00

25 lines
539 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
fileSystems."/".label = "root";
fileSystems."/boot".label = "boot";
boot.loader.systemd-boot.enable = true;
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.settings.experimental-features = [ "nix-command" "flakes" ];
}