Files
nix-config/modules/machines/hephaestus/configuration.nix
Dave Gallant 603d0b3e88 Cleanup
2023-11-18 23:19:11 -05:00

30 lines
441 B
Nix

{
config,
pkgs,
...
}: {
imports = [./hardware.nix];
hardware.opengl.enable = true;
nixpkgs.config.allowUnfree = true;
networking = {
hostName = "hephaestus";
interfaces.enp34s0 = {
useDHCP = true;
};
firewall = {
allowedUDPPorts = [
41641 # tailscale
];
};
};
services = {
sshd.enable = true;
tailscale.enable = true;
xserver.videoDrivers = ["amdgpu"];
};
}