nix-conf/hosts/iyokan/default.nix
2025-01-28 13:02:46 -06:00

36 lines
724 B
Nix

{
pkgs,
lib,
...
}: {
imports = [
../../system
./hardware-configuration.nix
];
networking.hostName = "iyokan";
time.timeZone = "America/Chicago";
services.xserver = {
videoDrivers = ["nvidia"];
deviceSection = ''Option "TearFree" "true"'';
};
hardware.nvidia.open = false;
nixpkgs.config.allowUnfree = true;
users.users.caandt = {
isNormalUser = true;
extraGroups = ["wheel"];
};
environment.systemPackages = [pkgs.nvtopPackages.nvidia];
services.openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = true;
AllowUsers = null;
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
}