summaryrefslogtreecommitdiff
path: root/nix/systems/spontaneity/default.nix
blob: 823c7b91283c7beb6ba9448cb11eba0d8238cc64 (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
{ config, lib, ... }:
{
  imports = [
    ../common.nix
    ../../disko/drive-bios.nix

    # nixos-anywhere generates this file
    ./hardware-configuration.nix
  ];
  config = {
    monorepo = {
      vars.device = "/dev/vda";
      profiles = {
        server = {
          enable = true;
          ipv4 = "66.42.84.130";
          gateway = "66.42.84.1";
          ipv6 = "2001:19f0:5401:10d0:5400:5ff:fe4a:7794";
          interface = "ens3";
        };
        grub.enable = true;
        pipewire.enable = false;
        tor.enable = false;
      };
    };
    boot.loader.grub.device = "nodev";
  };
}