summary refs log tree commit diff stats
path: root/system/settings/base.nix
blob: 8f0c32b25da35e03bed2da9878833611570bfbe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ config, pkgs, ... }:

{
  imports = [
    ../modules/nextdns.nix
  ];
  boot.loader.timeout = 1;

  environment.systemPackages = with pkgs; [
    nix-index
  ];

  networking.nextdns = {
    enable = true;
    configID = "abd6e5";
    identifyDevice = true;
  };

  networking.extraHosts = ''
    127.0.0.1 ${config.networking.hostName}
    ::1 ${config.networking.hostName}
  '';
}