dotfiles/nixos/boxes/foureighty/configuration.nix

47 lines
889 B
Nix
Raw Normal View History

2019-07-05 23:11:21 +01:00
{ config, pkgs, ... }:
{
2019-07-07 12:08:00 +01:00
networking.hostName = "foureighty";
2019-12-24 19:13:52 +00:00
2019-07-07 12:08:00 +01:00
boot = {
kernelPackages = pkgs.linuxPackages_latest;
2020-02-15 09:20:29 +00:00
2020-02-18 19:26:04 +00:00
initrd.luks.devices = {
root = {
2019-07-05 23:11:21 +01:00
device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e";
allowDiscards = true;
2019-07-07 12:08:00 +01:00
};
2019-07-05 23:11:21 +01:00
};
2020-02-22 11:11:10 +00:00
2020-02-18 19:26:04 +00:00
loader.grub = {
device = "nodev";
efiSupport = true;
};
2020-02-22 11:11:10 +00:00
2020-02-18 19:26:04 +00:00
loader.efi.canTouchEfiVariables = true;
};
2019-07-05 23:11:21 +01:00
2020-02-18 19:26:04 +00:00
time.hardwareClockInLocalTime = true;
time.timeZone = "Europe/London";
2019-07-05 23:11:21 +01:00
2020-02-18 19:26:04 +00:00
hardware.trackpoint.enable = true;
services.hardware.bolt.enable = true;
services.fprintd = {
enable = true;
};
2019-07-06 12:03:30 +01:00
2020-02-18 19:26:04 +00:00
imports = [
/etc/nixos/hardware-configuration.nix
2020-05-19 18:10:36 +01:00
../../boot.nix
../../common.nix
../../gfx-intel.nix
../../zerotier.nix
../../distributed-builds.nix
2020-05-31 12:47:50 +01:00
../../libvirt.nix
2020-05-23 14:32:31 +01:00
../../i3/system.nix
2020-02-18 19:26:04 +00:00
];
2020-02-23 10:38:22 +00:00
2020-05-02 20:20:22 +01:00
2020-02-29 14:00:42 +00:00
nix.maxJobs = 2;
nix.buildCores = 6;
2020-02-18 19:26:04 +00:00
}