all repos — nixfiles @ a6c3b48a7bac0b52778a39d95f04a5f6d3ac84ba

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;
  };
}