mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-18 03:48:44 +01:00
Fix fcitx5 settings being overwritten
There was also a typo where I referenced fcitx/config instead of fcitx5/config.
This commit is contained in:
parent
c3aa34812a
commit
5ce3256383
11
home.nix
11
home.nix
@ -1,7 +1,6 @@
|
|||||||
{ config, lib, nixpkgs, pkgs, home-manager, hyprland, ... }: {
|
{ config, lib, nixpkgs, pkgs, home-manager, hyprland, ... }: {
|
||||||
imports = [ home-manager.nixosModule ];
|
imports = [ home-manager.nixosModule ];
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.backupFileExtension = "old";
|
|
||||||
home-manager.sharedModules = [{
|
home-manager.sharedModules = [{
|
||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -201,6 +200,7 @@
|
|||||||
TerminalEmulator=kitty
|
TerminalEmulator=kitty
|
||||||
TerminalEmulatorDismissed=true
|
TerminalEmulatorDismissed=true
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."mozc/ibus_config.textproto".force = true;
|
||||||
xdg.configFile."mozc/ibus_config.textproto".text = ''
|
xdg.configFile."mozc/ibus_config.textproto".text = ''
|
||||||
engines {
|
engines {
|
||||||
name : "mozc-jp"
|
name : "mozc-jp"
|
||||||
@ -212,7 +212,8 @@
|
|||||||
}
|
}
|
||||||
active_on_launch: True
|
active_on_launch: True
|
||||||
'';
|
'';
|
||||||
xdg.configFile."fcitx/config".text = ''
|
xdg.configFile."fcitx5/config".force = true;
|
||||||
|
xdg.configFile."fcitx5/config".text = ''
|
||||||
[Hotkey]
|
[Hotkey]
|
||||||
# Enumerate when press trigger key repeatedly
|
# Enumerate when press trigger key repeatedly
|
||||||
EnumerateWithTriggerKeys=True
|
EnumerateWithTriggerKeys=True
|
||||||
@ -279,6 +280,7 @@
|
|||||||
# Preload input method to be used by default
|
# Preload input method to be used by default
|
||||||
PreloadInputMethod=True
|
PreloadInputMethod=True
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."fcitx5/profile".force = true;
|
||||||
xdg.configFile."fcitx5/profile".text = ''
|
xdg.configFile."fcitx5/profile".text = ''
|
||||||
[Groups/0]
|
[Groups/0]
|
||||||
# Group Name
|
# Group Name
|
||||||
@ -303,6 +305,7 @@
|
|||||||
[GroupOrder]
|
[GroupOrder]
|
||||||
0="Group 1"
|
0="Group 1"
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."fcitx5/conf/classicui.conf".force = true;
|
||||||
xdg.configFile."fcitx5/conf/classicui.conf".text = ''
|
xdg.configFile."fcitx5/conf/classicui.conf".text = ''
|
||||||
# Vertical Candidate List
|
# Vertical Candidate List
|
||||||
Vertical Candidate List=False
|
Vertical Candidate List=False
|
||||||
@ -329,6 +332,7 @@
|
|||||||
# Theme
|
# Theme
|
||||||
Theme=default
|
Theme=default
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."fcitx5/conf/clipboard.conf".force = true;
|
||||||
xdg.configFile."fcitx5/conf/clipboard.conf".text = ''
|
xdg.configFile."fcitx5/conf/clipboard.conf".text = ''
|
||||||
# Trigger Key
|
# Trigger Key
|
||||||
TriggerKey=
|
TriggerKey=
|
||||||
@ -337,6 +341,7 @@
|
|||||||
# Number of entries
|
# Number of entries
|
||||||
Number of entries=5
|
Number of entries=5
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."fcitx5/conf/mozc.conf".force = true;
|
||||||
xdg.configFile."fcitx5/conf/mozc.conf".text = ''
|
xdg.configFile."fcitx5/conf/mozc.conf".text = ''
|
||||||
# Initial Mode
|
# Initial Mode
|
||||||
InitialMode=Hiragana
|
InitialMode=Hiragana
|
||||||
@ -349,10 +354,12 @@
|
|||||||
# Hotkey to expand usage
|
# Hotkey to expand usage
|
||||||
ExpandKey=Control+Alt+H
|
ExpandKey=Control+Alt+H
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."fcitx5/conf/notifications.conf".force = true;
|
||||||
xdg.configFile."fcitx5/conf/notifications.conf".text = ''
|
xdg.configFile."fcitx5/conf/notifications.conf".text = ''
|
||||||
# Hidden Notifications
|
# Hidden Notifications
|
||||||
HiddenNotifications=
|
HiddenNotifications=
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."fcitx5/conf/unicode.conf".force = true;
|
||||||
xdg.configFile."fcitx5/conf/unicode.conf".text = ''
|
xdg.configFile."fcitx5/conf/unicode.conf".text = ''
|
||||||
# Trigger Key
|
# Trigger Key
|
||||||
TriggerKey=
|
TriggerKey=
|
||||||
|
Loading…
Reference in New Issue
Block a user