diff options
author | polwex <polwex@sortug.com> | 2024-07-21 01:09:48 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2024-07-21 01:09:48 +0700 |
commit | 78907aa98c1af8624a62ca123d088c6c16424f41 (patch) | |
tree | 477fe923810522acc211b7514e4931af80f33ed7 /hosts/linux.nix |
init
Diffstat (limited to 'hosts/linux.nix')
-rw-r--r-- | hosts/linux.nix | 44 |
1 files changed, 44 insertions, 0 deletions
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; +} |