33 lines
651 B
Nix
33 lines
651 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
|
||
|
];
|
||
|
}
|