-
Notifications
You must be signed in to change notification settings - Fork 3
/
hosts.nix
58 lines (49 loc) · 1.33 KB
/
hosts.nix
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
51
52
53
54
55
56
57
58
{ nixos-hardware, disko }: [
{
name = "nbell-nixos";
nixosModules = [
./hardware/thinkpad-l580.nix
{
ruben.network.hostname = "nbell-nixos";
console.keyMap = "de";
ruben.git.name = "ruben.hoenle";
ruben.git.mail = "[email protected]";
ruben.host.work = true;
boot.initrd.luks.devices."luks-b98db7bc-7d65-49d9-b771-1eb36ee43027".device = "/dev/disk/by-uuid/b98db7bc-7d65-49d9-b771-1eb36ee43027";
system.stateVersion = "23.11";
}
];
}
{
name = "deathstar";
nixosModules = [
disko.nixosModules.disko
#(import ./disko-config.nix { disk = "/dev/nvme0n1"; })
./hardware/thinkpad-l590.nix
{
ruben.network.hostname = "deathstar";
ruben.backup.enable = true;
console.keyMap = "de";
ruben.wireguard.enable = true;
system.stateVersion = "24.05";
}
];
}
{
name = "millenium-falcon";
nixosModules = [
./hardware/thinkpad-t14.nix
{
ruben.network.hostname = "millenium-falcon";
#ruben.backup.enable = true;
ruben.wireguard.enable = true;
console.keyMap = "us";
swapDevices = [{
device = "/var/lib/swapfile";
size = 16 * 1024;
}];
system.stateVersion = "24.05";
}
];
}
]