summary refs log tree commit diff stats
path: root/system/settings/base.nix
blob: f784b6f16a72764f352316347423037dc72d0749 (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
{ config, pkgs, ... }:

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

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

  programs.zsh = {
    histFile = "\${XDG_DATA_HOME}/zsh/history";
  };

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

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