pt kb on writter deck
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user