blob: 26637030252a6fd873dd54f9242587c61efe2106 (
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
|
{ ... }:
{
imports = [
../../modules/common.nix
./hardware.nix
./devices.nix
../../modules/jellyfin.nix
../../modules/nvidia.nix
];
networking.hostName = "Bismuth";
# run binary cache for slower machines
services.nix-serve = {
enable = true;
# note: can we get this value from somewhere?
bindAddress = "100.85.58.31"; # bismuth tailnet ip
secretKeyFile = "/var/bismuth-cache.pem";
};
# expose vm web interface to tailnet
services.tailscale.extraUpFlags = [
"--advertise-routes=192.168.122.100/32"
];
# set monitor configuration for gdm
systemd.tmpfiles.rules = [
"L+ /run/gdm/.config/monitors.xml - - - - ${../../configs/monitors.xml}"
];
system.stateVersion = "23.11";
}
|