summaryrefslogtreecommitdiff
path: root/hosts/linux.nix
blob: 70ff0c98d92eafc649a7bc48e62616dcc649da0e (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
43
{pkgs, ...}: {
  imports = [
    # Include the results of the hardware scan.
    ./users.nix
    ./editors.nix
    ./pkgs.nix
    ./network.nix
    #     ./yubikey.nix
  ];

  console = {
    earlySetup = true;
    packages = [pkgs.terminus_font];
    font = "Lat2-Terminus16";
    #font = "${pkgs.terminus_font}/share/consolefonts/ter-i32n.psf.gz";
    keyMap = "us";
    #   useXkbConfig = true; # use xkbOptions in tty.
  };

  # docker
  virtualisation.docker.enable = true;

  # Select internationalisation properties.
  i18n = {
    defaultLocale = "en_US.UTF-8";
    # supportedLocales = [
    #   "en_US.UTF-8/UTF-8"
    #   "es_ES.UTF-8/UTF-8"
    #   "zh_CN.UTF-8/UTF-8"
    #   "zh_HK.UTF-8/UTF-8"
    #   "ja_JP.UTF-8/UTF-8"
    #   "th_TH.UTF-8/UTF-8"
    # ];
  };

  ## Bluetooth
  #  hardware.enableAllFirmware = true;
  #  hardware.bluetooth.enable = true;
  #  hardware.bluetooth.settings = {General = {Experimental = true;};};
  #  hardware.bluetooth.disabledPlugins = ["sap"];
  #  hardware.bluetooth.package = pkgs.bluez;
  #  services.blueman.enable = true;
}