about summary refs log tree commit diff
path: root/configurations/test-headless/default.nix
blob: c085e63d132c9da0cd36dcd1e00f169ce2f9ae60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  lib,
  modulesPath,
  ...
}:
with lib; {
  imports = ["${modulesPath}/profiles/qemu-guest.nix"];

  # This will allow `nix flake check` tests to pass.
  nixfiles.modules = {
    endlessh-go.enable = mkForce false;
    node-exporter.enable = mkForce false;
    promtail.enable = mkForce false;
  };

  boot.loader.systemd-boot.enable = true;
  fileSystems."/".device = "/dev/null";

  documentation.enable = mkForce false;

  system.stateVersion = "22.05";
}

Consider giving Nix/NixOS a try! <3