treewide: abstract away common configs into common/

This commit is contained in:
Yegor Timoshenko 2017-12-24 23:21:05 +00:00
parent b63e0eb372
commit 5407ba7a52
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210
23 changed files with 112 additions and 38 deletions

View file

@ -1,11 +1,12 @@
{ config, lib, pkgs, ... }:
{
imports = [ ../. ];
imports = [
../../../common/cpu/intel
../.
];
# Use the gummiboot efi boot loader. (From default generated configuration.nix)
# TODO: boot loader
boot.loader.systemd-boot.enable = lib.mkDefault true;
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
services.xserver.videoDrivers = [ "intel" ];
}