2021-12-21 21:48:41 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-02-01 01:38:05 +00:00
|
|
|
imports = [ ./minecraft.nix ];
|
2021-12-21 21:56:15 +00:00
|
|
|
|
2021-12-21 21:48:41 +00:00
|
|
|
users.motd = builtins.readFile ./motd;
|
2022-02-23 17:03:02 +00:00
|
|
|
services.prometheus.exporters.node.enable = true;
|
2021-12-21 21:48:41 +00:00
|
|
|
|
|
|
|
networking.hostName = "logos";
|
|
|
|
networking.hostId = "aeace675";
|
2021-12-26 18:33:48 +00:00
|
|
|
|
|
|
|
services.nginx.enable = true;
|
2022-08-22 23:49:00 +00:00
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
hardware.opengl.enable = true;
|
|
|
|
|
|
|
|
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
|
|
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
2023-02-20 00:37:00 +00:00
|
|
|
|
|
|
|
virtualisation.docker.enableNvidia = true;
|
|
|
|
hardware.opengl.driSupport32Bit = true;
|
2021-12-21 21:48:41 +00:00
|
|
|
}
|