blob: fbda73e9e4ecee761d93c0ec80346d2290077da8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ config, lib, pkgs, ... }:
{
networking = {
hostName = "nixX230";
interfaces.enp0s25.useDHCP = true;
interfaces.wlp3s0.useDHCP = true;
};
networking = {
# We want to NAT container traffic
nat = {
enable = true;
internalInterfaces = [ "ve-test" ];
externalInterface = "wlp3s0";
};
};
boot = {
loader.grub = {
device = "/dev/disk/by-id/wwn-0x50026b7682847b8f";
enable = true;
};
initrd.luks.devices = {
lvmroot = {
device = "/dev/disk/by-uuid/676e4bca-b29f-4ec8-a701-59303489c402";
preLVM = true;
};
};
};
hardware = {
acpilight.enable = true;
};
services = {
tlp = {
enable = true;
};
fwupd.enable = true;
};
environment.systemPackages = with pkgs; [
linuxPackages.acpi_call
acpilight
];
}
|