website/hosts/desktop/default.nix

25 lines
539 B
Nix
Raw Normal View History

2023-11-05 12:19:00 +00:00
{ 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" ];
}