From 78907aa98c1af8624a62ca123d088c6c16424f41 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 21 Jul 2024 01:09:48 +0700 Subject: init --- hosts/linux.nix | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 hosts/linux.nix (limited to 'hosts/linux.nix') diff --git a/hosts/linux.nix b/hosts/linux.nix new file mode 100644 index 0000000..1e092bb --- /dev/null +++ b/hosts/linux.nix @@ -0,0 +1,44 @@ +{pkgs, ...}: { + imports = [ + # Include the results of the hardware scan. + ./users.nix + ./editors.nix + ./pkgs.nix + ./unfree.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; +} -- cgit v1.2.3