From 9ec569a1b34f17d32894d51614cff84d8952d868 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 18 Oct 2025 13:12:33 +0530 Subject: setup flake!! now editing username is easier than ever! and no longer nix-channels.txt with the long script installation --- nixos/nvidia.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos/nvidia.nix') diff --git a/nixos/nvidia.nix b/nixos/nvidia.nix index 14a4f2c..63db5b2 100644 --- a/nixos/nvidia.nix +++ b/nixos/nvidia.nix @@ -1,6 +1,5 @@ { config, pkgs, ... }: -let unstable = import { config.allowUnfree = true; }; -in { +{ hardware.graphics.enable = true; hardware.nvidia = { modesetting.enable = true; -- cgit v1.2.3