aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis/default.nix')
-rw-r--r--hosts/arrakis/default.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix
index 7279a9f..0098090 100644
--- a/hosts/arrakis/default.nix
+++ b/hosts/arrakis/default.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }: {
+{ config, inputs, outputs, pkgs, ... }: {
boot = {
initrd.kernelModules = [ "zfs" ];
kernel.sysctl = {
@@ -209,6 +209,17 @@
};
};
+ nixpkgs = {
+ config.allowUnfree = true;
+ hostPlatform = "x86_64-linux";
+ overlays = [
+ inputs.nvidia-patch.overlays.default
+ outputs.overlays.additions
+ outputs.overlays.modifications
+ outputs.overlays.stable-packages
+ ];
+ };
+
services.openssh.settings.X11Forwarding = true;
services.xserver.videoDrivers = [ "nvidia" ];