36 lines
724 B
Nix
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";
|
|
};
|
|
};
|
|
}
|