summary refs log tree commit diff stats
path: root/system/settings/base.nix
blob: a8e7b606795d4e36104ff564dc3cf7bee9e0a7cf (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
    zstd
  ];

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

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

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