Fixing fonts, gpg-agent, clipboard, and other misc

This commit is contained in:
stitchy 2024-07-30 14:25:55 +00:00
parent f44ccff64f
commit 00cb1bbe74
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
7 changed files with 41 additions and 15 deletions

View file

@ -53,7 +53,8 @@
};
i18n.inputMethod = {
enabled = "fcitx5";
enable = true;
type = "fcitx5";
fcitx5.addons = [
pkgs.fcitx5-mozc
];

View file

@ -54,7 +54,7 @@ in
#steamvr?
procps
usbutils
(python311.withPackages (lib.attrVals ["sympy" "matplotlib"]))
(python311.withPackages (lib.attrVals [ "matplotlib" "python-lsp-server" "sympy"]))
(octaveFull.withPackages (lib.attrVals ["symbolic"]))
]
++ (lib.optionals (nixosConfig.stitchyconf.form == "handheld") handheldPkgs)
@ -118,6 +118,23 @@ in
};
};
programs.gpg = {
homedir = "${config.xdg.dataHome}/gnupg";
};
services = {
gpg-agent = {
enable = true;
enableSshSupport = true;
defaultCacheTtl = 34560000;
maxCacheTtl = 34560000;
extraConfig = ''
allow-preset-passphrase
pinentry-program /run/current-system/sw/bin/pinentry
'';
};
};
systemd.user.timers = {
mailsync = {
Unit.Description = "Syncs email";