mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 19:39:42 +01:00
21 lines
427 B
Nix
21 lines
427 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../.
|
|
../../../common/pc/laptop/ssd
|
|
];
|
|
|
|
# TODO: boot loader
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# TODO: reverse compat
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
services.xserver = {
|
|
# TODO: we should not enable unfree drivers
|
|
# when there is an alternative (i.e. nouveau)
|
|
videoDrivers = [ "nvidia" ];
|
|
};
|
|
}
|