51 lines
1 KiB
Nix
51 lines
1 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
networking.hostName = "foureighty";
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
initrd.luks.devices = {
|
|
root = {
|
|
device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e";
|
|
allowDiscards = true;
|
|
};
|
|
};
|
|
|
|
loader.grub = {
|
|
device = "nodev";
|
|
efiSupport = true;
|
|
};
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
time.hardwareClockInLocalTime = true;
|
|
time.timeZone = "Europe/London";
|
|
|
|
hardware.trackpoint.enable = true;
|
|
services.hardware.bolt.enable = true;
|
|
services.fprintd = {
|
|
enable = true;
|
|
package = pkgs.fprintd-thinkpad;
|
|
};
|
|
|
|
hardware.nvidiaOptimus.disable = true;
|
|
hardware.nvidia.prime.sync.enable = false;
|
|
hardware.bumblebee.enable = false;
|
|
|
|
imports = [
|
|
/etc/nixos/hardware-configuration.nix
|
|
../boot.nix
|
|
../common.nix
|
|
../gfx-intel.nix
|
|
../zerotier.nix
|
|
../gnome/system.nix
|
|
../distributed-builds.nix
|
|
../virtualbox.nix
|
|
];
|
|
|
|
|
|
nix.maxJobs = 2;
|
|
nix.buildCores = 6;
|
|
}
|