Fixing fonts, gpg-agent, clipboard, and other misc
This commit is contained in:
parent
f44ccff64f
commit
00cb1bbe74
7 changed files with 41 additions and 15 deletions
|
@ -9,4 +9,4 @@ exec-once=${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/low-battery.sh
|
|||
exec-once=fcitx5
|
||||
#exec-once=~/.config/hypr/portal.sh
|
||||
exec-once=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=wl-paste -p --watch wl-copy -pc
|
||||
exec-once=wl-paste -t text --watch clipman store --no-persist
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
sleep 1
|
||||
killall xdg-desktop-portal-hyprland
|
||||
killall xdg-desktop-portal-wlr
|
||||
killall xdg-desktop-portal
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
sleep 2
|
||||
/usr/lib/xdg-desktop-portal &
|
|
@ -96,7 +96,6 @@ export QT_QPA_PLATFORMTHEME=qt5ct
|
|||
#export GDK_DEBUG=1
|
||||
export MBSYNCRC=${XDG_CONFIG_HOME:-~/.config}/mbsync/config
|
||||
export PASSWORD_STORE_DIR=${XDG_CONFIG_HOME:-~/.config}/password_store
|
||||
export GNUPGHOME=${XDG_DATA_HOME-~/.config}/gnupg
|
||||
export NOTMUCH_CONFIG=${XDG_CONFIG_HOME-~/.config}/notmuch/config
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||
export KDEHOME="$XDG_CONFIG_HOME"/kde
|
||||
|
|
|
@ -35,13 +35,13 @@
|
|||
"kernel.yama.ptrace_scope=0"
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.settings.General.Experimental = true;
|
||||
hardware.opengl = {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
enable32Bit= true;
|
||||
extraPackages = lib.attrVals [
|
||||
"intel-compute-runtime"
|
||||
"intel-media-driver"
|
||||
|
|
|
@ -19,6 +19,7 @@ let
|
|||
"dracula-theme"
|
||||
"wl-clipboard"
|
||||
"brightnessctl"
|
||||
"clipman"
|
||||
"powertop"
|
||||
"easyeffects"
|
||||
"mutt-wizard"
|
||||
|
@ -66,6 +67,7 @@ in
|
|||
"p7zip"
|
||||
"pinentry"
|
||||
"neofetch"
|
||||
"unzip"
|
||||
"wget"
|
||||
"zoxide"
|
||||
] pkgs)
|
||||
|
@ -123,5 +125,20 @@ in
|
|||
"nerdfonts"
|
||||
"ipafont"
|
||||
] pkgs;
|
||||
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
monospace = [
|
||||
"Noto Sans Mono"
|
||||
"IPAGothic"
|
||||
];
|
||||
sansSerif = [
|
||||
"Noto Sans"
|
||||
"IPAPGothic"
|
||||
];
|
||||
serif = [
|
||||
"Noto Serif"
|
||||
"IPAPMincho"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -53,7 +53,8 @@
|
|||
};
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5.addons = [
|
||||
pkgs.fcitx5-mozc
|
||||
];
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue