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

{
  imports = [
    ../../modules/common.nix

    ./hardware.nix
    ./devices.nix

    ../../modules/syncthing.nix
    ../../modules/nvidia.nix
  ];

  networking.hostName = "Bismuth";

  # 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";
}