first commit
This commit is contained in:
+12
-6
@@ -8,6 +8,7 @@
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./programs/clash.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -18,6 +19,15 @@
|
||||
|
||||
networking.hostName = "nixos"; # Define your hostname.
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
services.flatpak.enable = true;
|
||||
services.flatpak.remotes = [{
|
||||
name = "flathub";
|
||||
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
||||
}];
|
||||
services.flatpak.packages = [
|
||||
# "com.obsproject.Studio"
|
||||
];
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
@@ -82,13 +92,9 @@
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5.waylandFrontend = true;
|
||||
fcitx5.addons = with pkgs; [
|
||||
# 注入 rime-ice,并补齐中文输入与 KDE/Qt 集成组件。
|
||||
(fcitx5-rime.override {
|
||||
rimeDataPkgs = [
|
||||
pkgs.rime-ice
|
||||
];
|
||||
})
|
||||
# 使用 Fcitx5 拼音(由 fcitx5-chinese-addons 提供),并补齐 KDE/Qt 集成组件。
|
||||
qt6Packages.fcitx5-chinese-addons
|
||||
fcitx5-gtk
|
||||
kdePackages.fcitx5-qt
|
||||
|
||||
Reference in New Issue
Block a user