pt kb on writter deck

This commit is contained in:
2026-07-16 22:26:35 +00:00
parent ec10527c0d
commit 85d5fa453a
3 changed files with 110 additions and 5 deletions
+11 -3
View File
@@ -1,8 +1,16 @@
{ lib, config, ... }:
{
options.custom.cedilla = {
enable = lib.mkEnableOption "enable cedilla - apply Compose configuration for cedilla";
options.custom = {
cedilla.enable = lib.mkEnableOption "enable cedilla - apply Compose configuration for cedilla";
startFcitx5 = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
Start the NixOS fcitx5 user service. Disable this when only the Compose
rules are needed, for example on a non-NixOS Wayland host.
'';
};
};
config = lib.mkIf config.custom.cedilla.enable {
@@ -13,7 +21,7 @@
<dead_acute> <C> : "Ç" Ccedilla
'';
systemd.user.services.fcitx5 = {
systemd.user.services.fcitx5 = lib.mkIf config.custom.cedilla.startFcitx5 {
Unit = {
Description = "Fcitx5 input method";
PartOf = [ "graphical-session.target" ];