41 lines
999 B
Nix
Executable file
41 lines
999 B
Nix
Executable file
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
users.users.lucy.maid = { config, ... }: {
|
|
imports = [
|
|
./ghostty.nix
|
|
./dots.nix
|
|
];
|
|
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."app-com.mitchellh.ghostty" = {
|
|
description = "Ghostty";
|
|
enableDefaultPath = false;
|
|
after = [
|
|
"graphical-session.target"
|
|
"dbus.socket"
|
|
];
|
|
requires = [ "dbus.socket" ];
|
|
wantedBy = [ config.maid.systemdGraphicalTarget ];
|
|
reloadIfChanged = true;
|
|
serviceConfig = {
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|