diff options
author | obadz <obadz-git@obadz.com> | 2016-08-21 12:03:41 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-08-21 12:03:41 +0100 |
commit | 68936edfb3142b0e308ff8428e1c19d6bcd30843 (patch) | |
tree | 7f31407c203325a5c57996d534fc49b201493b92 /nixos/modules/hardware | |
parent | 15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79 (diff) | |
parent | c2192c664ae25f82d8e06de4694aad7a806969b9 (diff) | |
download | nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.tar nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.tar.gz nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.tar.bz2 nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.tar.lz nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.tar.xz nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.tar.zst nixlib-68936edfb3142b0e308ff8428e1c19d6bcd30843.zip |
Merge branch 'master' into staging
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/amdgpu.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/modules/hardware/video/amdgpu.nix b/nixos/modules/hardware/video/amdgpu.nix new file mode 100644 index 000000000000..42fc8fa362de --- /dev/null +++ b/nixos/modules/hardware/video/amdgpu.nix @@ -0,0 +1,9 @@ +{ config, lib, ... }: + +with lib; +{ + config = mkIf (elem "amdgpu" config.services.xserver.videoDrivers) { + boot.blacklistedKernelModules = [ "radeon" ]; + }; +} + |