dotfiles/nixos/boxes/foureighty.nix
2019-07-06 07:43:37 +01:00

33 lines
672 B
Nix

{ config, pkgs, ... }:
{
networking.hostName = "foureighty";
boot = {
initrd.kernelModules = [ "i915" ];
initrd.luks.devices = [
{
name = "root";
device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e";
preLVM = true;
allowDiscards = true;
}];
loader.grub = {
device = "nodev";
efiSupport = true;
};
loader.efi.canTouchEfiVariables = true;
};
time.timeZone = "Europe/London";
hardware.bumblebee.enable = true;
hardware.bumblebee.connectDisplay = true;
imports = [
/etc/nixos/hardware-configuration.nix
../boot.nix
../common.nix
../gfx-intel.nix
];
}