From 67526406f3b089b4e1f76bb05818802f37f24032 Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 15 Oct 2026 12:07:48 +0200 Subject: [PATCH] push --- flake.lock | 19 ++++++++++++++++++- flake.nix | 9 ++++++--- modules/maid/ghostty.nix | 25 ++++++++++++++++++++++--- modules/maid/maid.nix | 3 +++ 4 files changed, 49 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index b7c0731..6a2562a 100755 --- a/flake.lock +++ b/flake.lock @@ -209,7 +209,8 @@ "nixcord": "nixcord", "nixpkgs": "nixpkgs", "tt-discord": "tt-discord", - "tt-schemes": "tt-schemes" + "tt-schemes": "tt-schemes", + "tt-terminal": "tt-terminal" } }, "treefmt-nix": { @@ -264,6 +265,22 @@ "repo": "schemes", "type": "github" } + }, + "tt-terminal": { + "flake": false, + "locked": { + "lastModified": 1791802932, + "narHash": "sha256-iWnep1ODMSZ89sQ+4zHxLddne3xSHWBCKENkGwaFako=", + "owner": "tinted-theming", + "repo": "tinted-terminal", + "rev": "e64e440b8364f5b83e0058f264a3dc1efaeda7a2", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-terminal", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index e442e86..6abaf1d 100755 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,6 @@ url = "github:0x5a4/nix-easyroam"; inputs.nixpkgs.follows = "nixpkgs"; }; - nixcord = { url = "github:4evy/nixcord"; inputs.nixpkgs.follows = "nixpkgs"; @@ -26,6 +25,10 @@ url = "git+https://git.lucy.rip/lucy/tinted-discord.git"; flake = false; }; + tt-terminal = { + url = "github:tinted-theming/tinted-terminal"; + flake = false; + }; }; outputs = @@ -39,6 +42,7 @@ nix-easyroam, tt-schemes, tt-discord, + tt-terminal, }@inputs: let scheme = "gruvbox-dark"; @@ -54,8 +58,7 @@ nix-easyroam.nixosModules.nix-easyroam base16.nixosModule { - scheme = "${schemePath}"; - + scheme = schemePath; } ./configuration.nix ./modules/maid diff --git a/modules/maid/ghostty.nix b/modules/maid/ghostty.nix index 28ca2aa..9ca4af3 100644 --- a/modules/maid/ghostty.nix +++ b/modules/maid/ghostty.nix @@ -1,6 +1,25 @@ { - programs.ghostty = { - enable = true; - systemd.enable = true; + config, + lib, + inputs, + ... +}: +{ + file.xdg_config.ghostty = { + text = '' + quit-after-last-window-closed = false + theme = "tinted-theming" + font-family = "JetBrainsMono Nerd Font" + font-size = 14 + window-padding-x = 15 + window-padding-y = 15 + shell-integration = none + confirm-close-surface = false + ''; + target = "ghostty/config.ghostty"; }; +# file.xdg_config.ghostty_theme = { +# text = "${builtins.readFile (config.scheme "${inputs.tt-terminal}/themes/ghostty/")}"; +# target = "ghostty/themes/tinted-theming"; +# }; } diff --git a/modules/maid/maid.nix b/modules/maid/maid.nix index 49575bd..fc8cb8f 100755 --- a/modules/maid/maid.nix +++ b/modules/maid/maid.nix @@ -7,6 +7,9 @@ }: { users.users.lucy.maid = { config, ... }: { + imports = [ + ./ghostty.nix + ]; gsettings.settings = { org.gnome.desktop.interface = { color-scheme = "prefer-dark";