add ghostty config

This commit is contained in:
lucy 2026-10-15 12:49:26 +02:00
commit 105485397f
4 changed files with 30 additions and 19 deletions

View file

@ -8,7 +8,7 @@
{
users.users.lucy.maid = { config, ... }: {
imports = [
./ghostty.nix
];
gsettings.settings = {
org.gnome.desktop.interface = {
@ -28,8 +28,9 @@
];
requires = [ "dbus.socket" ];
wantedBy = [ config.maid.systemdGraphicalTarget ];
reloadIfChanged = true;
serviceConfig = {
Type = "notify"; # reload waits for ghostty to sd_notify READY=1
Type = "notify";
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
BusName = "com.mitchellh.ghostty";
ExecStart = "${pkgs.ghostty}/bin/ghostty --gtk-single-instance=true --initial-window=false";