all repos — nixfiles @ 3c2fabc14bd57d4e7d7ee62c560c74b25ed8b1d2

System and user configuration, managed by nix and home-manager

system/settings/hardware/nvidia-gpu.nix (view raw)

1
2
3
4
5
6
7
8
{ config, pkgs, ... }:

{ services.xserver.videoDrivers = [ "nvidia" ];
  nixpkgs.config.allowUnfree = true;
  services.compton = {
    enable = true;
  };
}