24 lines
512 B
Nix
24 lines
512 B
Nix
{lib, ...}: {
|
|
imports = [
|
|
../common
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
networking.hostName = "iyokan";
|
|
time.timeZone = "America/Chicago";
|
|
services.xserver = {
|
|
videoDrivers = ["nvidia"];
|
|
deviceSection = ''Option "TearFree" "true"'';
|
|
};
|
|
hardware.nvidia.open = false;
|
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"nvidia-x11"
|
|
"nvidia-settings"
|
|
];
|
|
users.users.caandt = {
|
|
isNormalUser = true;
|
|
extraGroups = ["wheel"];
|
|
};
|
|
}
|