diff options
author | lassulus <lassulus@lassul.us> | 2018-01-04 12:56:41 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-01-04 12:56:41 +0100 |
commit | 9c6deead88c3df4d5ef10f6f4073c66ad966eda2 (patch) | |
tree | 162f37a9b60153a861fac311a1b1343f913b9fba /tv/2configs/hw/w110er.nix | |
parent | 878a7f164a3c3b5df81cfba24a2badcd26d46ed0 (diff) | |
parent | 1f85655f52ebeaf32d615aae72231c8449604b89 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/hw/w110er.nix')
-rw-r--r-- | tv/2configs/hw/w110er.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tv/2configs/hw/w110er.nix b/tv/2configs/hw/w110er.nix index 787bfc6e9..55e9482d4 100644 --- a/tv/2configs/hw/w110er.nix +++ b/tv/2configs/hw/w110er.nix @@ -1,8 +1,20 @@ +with import <stockholm/lib>; { pkgs, ... }: { imports = [ ../smartd.nix + { + # nvidia doesn't build despite + # https://github.com/NixOS/nixpkgs/issues/33284 + #hardware.bumblebee.enable = true; + #hardware.bumblebee.group = "video"; + #hardware.enableRedistributableFirmware= true; + #krebs.nixpkgs.allowUnfreePredicate = pkg: + # hasPrefix "nvidia-x11-" pkg.name || + # hasPrefix "nvidia-persistenced-" pkg.name || + # hasPrefix "nvidia-settings-" pkg.name; + } ]; boot.extraModprobeConfig = '' @@ -15,6 +27,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + hardware.opengl.driSupport32Bit = true; hardware.opengl.extraPackages = [ pkgs.vaapiIntel ]; networking.wireless.enable = true; @@ -41,4 +54,8 @@ echo auto > $i/power/control # defaults to 'on' done) ''; + + services.xserver = { + videoDriver = "intel"; + }; } |