summaryrefslogtreecommitdiff
path: root/hosts/radish/default.nix
blob: 8a1089ec63601fcab1c04e14503e0bbcd03e7096 (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
39
40
41
42
{ lib, ... }:

{
  imports = [
    ./packages.nix
    ./services.nix
    ./tarball.nix
  ];

  boot.isContainer = true;

  networking.domain = "alef.zoar.cx";
  time.timeZone = "America/Chicago";
  this.locales.default = "us";
  this.locales.dictionaries.enable = true;

  networking.firewall.enable = false;
  networking.useDHCP = false;
  boot.modprobeConfig.enable = false;
  xdg = {
    autostart.enable = false;
    icons.enable = false;
    mime.enable = false;
    sounds.enable = false;
  };

  this.buildMachines = ["pinto"];

  this.hosts = {
    lan.home = true;
    mine = true;
    yggdrasil.public = true;
    yggdrasil.private = true;
  };
  services.yggdrasil.enable = lib.mkForce false;

  system.activationScripts.magisk-boot.text = ''
  echo "${config.system.build.toplevel}" >/data/adb/modules/nixos/current-system
  '';

  system.stateVersion = "24.11";
}