1
0
Fork 0
This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dotnix-archive/apps/nogui/xdg.nix

24 lines
696 B
Nix

{config, ...}: {
xdg = {
enable = true;
userDirs.enable = true;
cacheHome = "${config.home.homeDirectory}/.cache";
configHome = "${config.home.homeDirectory}/.config";
dataHome = "${config.home.homeDirectory}/.local/share";
desktopEntries.ghostty = {
name = "Ghostty";
type = "Application";
comment = "A terminal emulator";
exec = "/home/jolheiser/.local/share/ghostty/bin/ghostty";
icon = "com.mitchellh.ghostty";
categories = ["System" "TerminalEmulator" "Utility"];
startupNotify = true;
terminal = false;
#actions."new-window" = {
# name = "New Window";
# exec = "ghostty";
#};
};
};
}