nix-conf/hosts/iyokan/default.nix

36 lines
724 B
Nix
Raw Normal View History

2024-10-28 16:27:14 -04:00
{
pkgs,
lib,
...
}: {
2024-10-24 17:40:50 -04:00
imports = [
2024-10-28 16:27:14 -04:00
../../system
2024-10-24 17:40:50 -04:00
./hardware-configuration.nix
];
networking.hostName = "iyokan";
time.timeZone = "America/Chicago";
services.xserver = {
2024-10-27 13:34:49 -04:00
videoDrivers = ["nvidia"];
2024-10-24 17:40:50 -04:00
deviceSection = ''Option "TearFree" "true"'';
};
hardware.nvidia.open = false;
2024-10-28 16:27:14 -04:00
nixpkgs.config.allowUnfree = true;
2024-10-27 14:51:38 -04:00
users.users.caandt = {
isNormalUser = true;
2025-01-20 11:41:53 -05:00
extraGroups = ["wheel"];
2024-10-27 14:51:38 -04:00
};
2024-10-28 16:27:14 -04:00
environment.systemPackages = [pkgs.nvtopPackages.nvidia];
services.openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = true;
AllowUsers = null;
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
2024-10-24 17:40:50 -04:00
}