all repos — nixfiles @ c711e08f4747f52a2a20013d54c3c938dfb98836

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