dotfiles/nixos/boxes/foureighty.nix

33 lines
651 B
Nix
Raw Normal View History

2019-07-05 23:11:21 +01:00
{ 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
];
}