nix-conf/hosts/iyokan/default.nix

24 lines
512 B
Nix
Raw Normal View History

2024-10-27 13:34:49 -04:00
{lib, ...}: {
2024-10-24 17:40:50 -04:00
imports = [
../common
./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;
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"nvidia-x11"
"nvidia-settings"
];
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-24 17:40:50 -04:00
}