mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 03:13:38 +00:00
27 lines
504 B
Nix
27 lines
504 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "hephaestus";
|
|
|
|
networking = {
|
|
interfaces.enp34s0 = { useDHCP = true; };
|
|
defaultGateway = {
|
|
address = "192.168.0.1";
|
|
interface = "enp34s0";
|
|
};
|
|
};
|
|
|
|
# Enable the OpenSSH server.
|
|
services.sshd.enable = true;
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
}
|
|
|