summary refs log tree commit diff
path: root/machines/fourmi/default.nix
blob: e942b3dfd8248e105023777fdf4448811ab275c2 (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
36
37
38
{ pkgs, lib, ... }:

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

    ./hardware.nix
    ./devices.nix

    ../../modules/go2rtc.nix
    ../../modules/klipper.nix
    ../../modules/klipperscreen.nix
    #../../modules/fbcp.nix
  ];

  foundation = {
    www = {
      enable = true;
      public = false;
      tailnet = true;
    };

    monitoring = {
      client.enable = false;
    };
  };

  virtualisation.docker.enable = lib.mkForce false;

  # extra packages for dealing with the device
  # hardware.
  environment.systemPackages = with pkgs; [
    libraspberrypi
    raspberrypi-eeprom
  ];

  system.stateVersion = "24.11";
}