diff --git a/hosts/nova.nix b/hosts/nova.nix index f698280..2febe4f 100644 --- a/hosts/nova.nix +++ b/hosts/nova.nix @@ -24,6 +24,15 @@ i18n.defaultLocale = "en_US.UTF-8"; services.openssh.enable = true; + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.graphics.enable = true; + hardware.nvidia = { + modesetting.enable = true; + nvidiaPersistenced = true; + package = config.boot.kernelPackages.nvidiaPackages.stable; + open = false; + }; + networking = { hostName = "nova"; search = ["wolfgirl.systems"]; diff --git a/network.nix b/network.nix index a6592c1..300e3eb 100644 --- a/network.nix +++ b/network.nix @@ -1,5 +1,9 @@ let -pkgs = import ./nixpkgs {}; +pkgs = import ./nixpkgs { + config = { + allowUnfreePredicate = pkg: true; + }; +}; in { network = {