summary refs log tree commit diff
path: root/machines/bismuth/default.nix
blob: 7838ce0c76dec244fbcdcea604023b511b33a04d (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
{ ... }:

{
  imports = [
    ./hardware.nix
    ./devices.nix

    ../../modules/binary-cache.nix
    # ../../modules/syncthing.nix
    ../../modules/nvidia.nix
  ];

  # expose vm web interface to tailnet
  services.tailscale.extraUpFlags = [
    "--advertise-routes=192.168.122.100/32"
  ];

  # set monitor configuration for gdm
  # NOTE: maybe also use this for ~/.config/monitors.xml?
  systemd.tmpfiles.rules = [
    "L+ /run/gdm/.config/monitors.xml - - - - ${../../configs/monitors.xml}"
  ];

  system.stateVersion = "23.11";
}