From 132f411ad274e63d9d3763e9b8565e50f6e0f5bb Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Sat, 16 Mar 2024 01:10:23 +0000 Subject: [PATCH] . --- hosts/default/configuration.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index c909585..27b8f3f 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -22,7 +22,10 @@ # networking.hostName = "nixos"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. + networking = { + networkmanager.enable = true; # Easiest to use and most distros use this by default. + hostName = "nixos-laptop"; + }; # Set your time zone. time.timeZone = "Europe/Dublin"; @@ -32,7 +35,18 @@ # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; + i18n= { + defaultLocale = "en_US.UTF-8"; + inputMethod = { + enabled = "fcitx5"; + fcitx5.addons = with pkgs; [ + fcitx5-mozc + fcitx5-gtk + fcitx5-chinese-addons + # fcitx5-japanese-addons + ]; + }; + }; # console = { # font = "Lat2-Terminus16"; # keyMap = "us";