summaryrefslogtreecommitdiff
path: root/machines/t1/default.nix
blob: d95926b924901bfa79dd14e9df529defc18dadce (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
{ inputs, ... }:

let
  inherit (inputs.nixos-hardware.nixosModules)
    common-cpu-amd
    common-gpu-amd
    ;
in
{
  imports = [
    common-cpu-amd
    common-gpu-amd
  ];

  system.stateVersion = "24.11";

  xnet = {
    desktop.enable = true;
    users.enable = [ "kle" ];
    net.join = [ "plaza" ];
    disk = {
      enable = true;
      device = "/dev/nvme0n1";
    };
  };

  networking = {
    hostName = "t1";
  };

  # override default from xnet
  programs.light.enable = false;
}