Add some more xcompose compat

This commit is contained in:
Alexander Bantyev 2022-06-28 00:22:21 +04:00
parent 8fd3d9cbe7
commit 854a18a415
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
2 changed files with 7 additions and 1 deletions

View File

@ -7,11 +7,14 @@
XKB_DEFAULT_OPTIONS =
"grp:lctrl_toggle,grp_led:caps,ctrl:nocaps,compose:ralt";
LANG = lib.mkForce "en_GB.UTF-8";
XCOMPOSEFILE = "${config.home-manager.users.balsoft.xdg.configHome}/XCompose";
};
time.timeZone = "Asia/Tbilisi";
home-manager.users.balsoft = {
home.file.".XCompose".source = ./compose;
xdg.configFile."gtk-3.0/Compose".source = ./compose;
xdg.configFile."XCompose".source = ./compose;
home.language = let
en = "en_GB.UTF-8";
ru = "ru_RU.UTF-8";

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: let password-store = config.secretsConfig.password-store; in {
{ config, pkgs, lib, ... }: let password-store = config.secretsConfig.password-store; in {
secrets.tawasal_eu1 = {
encrypted = "${password-store}/openvpn/tawasal_eu1.gpg";
services = [ "openvpn-tawasal-eu1.service" ];
@ -12,4 +12,7 @@
tawasal-eu1.config = "config ${config.secrets.tawasal_eu1.decrypted}";
tawasal-eu2.config = "config ${config.secrets.tawasal_eu2.decrypted}";
};
systemd.services.openvpn-tawasal-eu1.wantedBy = lib.mkForce [];
systemd.services.openvpn-tawasal-eu2.wantedBy = lib.mkForce [];
}