mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
treewide: abstract away common configs into common/
This commit is contained in:
parent
b63e0eb372
commit
5407ba7a52
23 changed files with 112 additions and 38 deletions
|
|
@ -1,16 +1,19 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../. ];
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
];
|
||||
|
||||
# TODO: boot loader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# TODO: drop
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
services.xserver = {
|
||||
libinput.enable = lib.mkDefault true;
|
||||
|
||||
# TODO: we should not enable unfree drivers
|
||||
# when there is an alternative (i.e. nouveau)
|
||||
videoDrivers = [ "nvidia" ];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
../../.
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
<nixpkgs/nixos/modules/hardware/network/broadcom-43xx.nix>
|
||||
];
|
||||
|
||||
|
|
|
|||
7
apple/macbook-pro/default.nix
Normal file
7
apple/macbook-pro/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../common/cpu/intel
|
||||
../../common/pc/laptop
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue