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";