dotfiles/nixos/boxes/skinnyv.nix

47 lines
1 KiB
Nix
Raw Normal View History

2019-04-21 10:18:35 +01:00
{ config, pkgs, ... }:
{
networking.hostName = "skinnyv";
2020-01-03 14:28:53 +00:00
nixpkgs.config.packageOverrides = pkgs: {
linux_latest_hardened = pkgs.linux_latest_hardened.override {
extraConfig = ''
IA32_EMULATION y
KVM m
KVM_INTEL m
'';
features.ia32Emulation = true;
enableParallelBuilding = true;
};
};
boot = {
2020-01-03 14:28:53 +00:00
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest_hardened;
kernelParams = [
"i915.enable_rc6=7"
];
initrd.luks.devices = [
{
name = "root";
2019-08-10 09:51:21 +01:00
device = "/dev/disk/by-uuid/ef6e91d9-c477-4ab7-ae39-4a0ee413cebe";
preLVM = true;
allowDiscards = true;
}];
2019-07-07 12:08:00 +01:00
loader.grub = {
device = "nodev";
efiSupport = true;
};
loader.efi.canTouchEfiVariables = true;
};
2019-07-07 12:08:00 +01:00
time.timeZone = "Europe/London";
2019-04-26 11:30:22 +01:00
2019-07-07 12:08:00 +01:00
imports = [
/etc/nixos/hardware-configuration.nix
../boot.nix
../common.nix
../gfx-intel.nix
2020-01-03 14:28:53 +00:00
../zerotier.nix
2020-01-10 22:55:19 +00:00
../i3/system.nix
2020-02-22 11:11:10 +00:00
../distributed-builds.nix
2019-07-07 12:08:00 +01:00
];
}