52 lines
843 B
Nix
52 lines
843 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
./fan-controll.nix
|
|
];
|
|
|
|
boot.loader = {
|
|
grub.enable = false;
|
|
generic-extlinux-compatible.enable = true;
|
|
};
|
|
|
|
networking = {
|
|
networkmanager.enable = false;
|
|
useNetworkd = true;
|
|
useDHCP = false;
|
|
|
|
nameservers = [
|
|
"192.168.2.2"
|
|
"1.1.1.1"
|
|
"8.8.8.8"
|
|
];
|
|
defaultGateway = {
|
|
address = "192.168.2.1";
|
|
interface = "end0";
|
|
};
|
|
|
|
wireless = {
|
|
enable = true;
|
|
userControlled.enable = false;
|
|
networks = {
|
|
"LANFRED".psk = "CooleJungsWG";
|
|
};
|
|
};
|
|
};
|
|
|
|
# Set your time zone.
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
system.stateVersion = "25.11"; # Did you read the comment?
|
|
|
|
}
|