add ghostty service
This commit is contained in:
parent
32a3a22a63
commit
e6761cbae5
3 changed files with 18 additions and 3 deletions
|
|
@ -85,6 +85,7 @@
|
||||||
jq
|
jq
|
||||||
nmgui
|
nmgui
|
||||||
kdePackages.qtdeclarative
|
kdePackages.qtdeclarative
|
||||||
|
ghostty
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
|
|
|
||||||
17
maid.nix
17
maid.nix
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, config, lib, inputs, ... }: {
|
||||||
users.users.lucy.maid = {
|
users.users.lucy.maid = {
|
||||||
gsettings.settings = {
|
gsettings.settings = {
|
||||||
org.gnome.desktop.interface = {
|
org.gnome.desktop.interface = {
|
||||||
|
|
@ -9,5 +9,20 @@
|
||||||
cursor-size = 24;
|
cursor-size = 24;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.services.ghostty = {
|
||||||
|
description = "Ghostty";
|
||||||
|
after = [
|
||||||
|
"graphical-session.target"
|
||||||
|
"dbus.socket"
|
||||||
|
];
|
||||||
|
requires = [ "dbus.socket" ];
|
||||||
|
wantedBy = [ config.maid.systemdGraphicalTarget ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "notify-reload"; # reload waits for ghostty to sd_notify READY=1
|
||||||
|
ReloadSignal = "SIGUSR2"; # ghostty's config-reload signal (default is SIGHUP)
|
||||||
|
BusName = "com.mitchellh.ghostty";
|
||||||
|
ExecStart = "${pkgs.ghostty}/bin/ghostty --gtk-single-instance=true --initial-window=false";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,5 @@
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./nixcord.nix
|
./nixcord.nix
|
||||||
./chromium.nix
|
./chromium.nix
|
||||||
./ghostty.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue