28 lines
904 B
Nix
Executable file
28 lines
904 B
Nix
Executable file
{ pkgs, config, lib, inputs, ... }: {
|
|
users.users.lucy.maid = {
|
|
gsettings.settings = {
|
|
org.gnome.desktop.interface = {
|
|
color-scheme = "prefer-dark";
|
|
gtk-theme = "adw-gtk3";
|
|
cursor-theme = "macOS";
|
|
icon-theme = "Papirus";
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|