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

{
  imports = [
    ../modules/nextdns.nix
  ];
  boot.loader.timeout = lib.mkDefault 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}
  '';
}