diff --git a/hosts/lambdaos/configuration.nix b/hosts/lambdaos/configuration.nix index fb6cde4..b40ab90 100644 --- a/hosts/lambdaos/configuration.nix +++ b/hosts/lambdaos/configuration.nix @@ -172,8 +172,26 @@ }; }; - # Or disable the firewall altogether. - # networking.firewall.enable = false; + # List packages installed in system profile. To search by name, run: + # $ nix-env -qaP | grep wget + environment.systemPackages = with pkgs; [ + pciutils + file + + gnumake + gcc + + cudatoolkit + ]; + + services.xserver.videoDrivers = [ "nvidia" ]; + + systemd.services.nvidia-control-devices = { + wantedBy = [ "multi-user.target" ]; + serviceConfig.ExecStart = "${pkgs.linuxPackages.nvidia_x11.bin}/bin/nvidia-smi"; + }; + + nixpkgs.config.allowUnfree = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions