From b49553a6fd6a1376b61a57f3e414099e86e513cc Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Mon, 27 Oct 2025 11:46:45 +0530 Subject: nvidia configurable --- nixos/configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nixos') diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d3a996a..351e549 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, username, hostname, ... }: +{ config, pkgs, username, hostname, nvidia, ... }: { imports = [ @@ -10,11 +10,12 @@ ./desktop-environment.nix ./environment.nix ./nvim.nix - ./nvidia.nix ./languages ./apps.nix ./tmux.nix - ]; + ] ++ (if nvidia then [ + ./nvidia.nix + ] else []); nix.settings = { cores = 6; -- cgit v1.2.3