dotfiles/nixos/boxes/skinnyv.nix
2019-06-30 13:59:03 +01:00

34 lines
732 B
Nix

{ config, pkgs, ... }:
{
networking.hostName = "skinnyv";
boot = {
kernelParams = [
"i915.enable_rc6=7"
];
initrd.luks.devices = [
{
name = "root";
device = "/dev/disk/by-uuid/8c76bf01-59b3-4c60-b853-e9cb77f3ca14";
preLVM = true;
allowDiscards = true;
}];
loader.grub = {
device = "nodev";
efiSupport = true;
};
loader.efi.canTouchEfiVariables = true;
};
time.timeZone = "Europe/London";
virtualisation.virtualbox.host = {
enable = true;
enableExtensionPack = true;
enableHardening = false; #needed for 3D acceleration
};
imports = [
/etc/nixos/hardware-configuration.nix
../boot.nix
../common.nix
];
}