ghostty: add shaders derivation
This commit is contained in:
parent
4ffecbac0c
commit
8a0a7d444c
3 changed files with 24 additions and 1 deletions
|
|
@ -11,6 +11,8 @@
|
||||||
inherit (osConfig.ooknet.appearance.fonts) monospace;
|
inherit (osConfig.ooknet.appearance.fonts) monospace;
|
||||||
inherit (osConfig.ooknet.workstation) default;
|
inherit (osConfig.ooknet.workstation) default;
|
||||||
|
|
||||||
|
# getShader = shader: "${self'.packages.ghostty-shaders}/${shader}.glsl";
|
||||||
|
|
||||||
cfg = osConfig.ooknet.workstation.programs.ghostty;
|
cfg = osConfig.ooknet.workstation.programs.ghostty;
|
||||||
in {
|
in {
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
|
|
@ -18,6 +20,7 @@ in {
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = admin.shell == "fish";
|
enableFishIntegration = admin.shell == "fish";
|
||||||
|
clearDefaultKeybinds = true;
|
||||||
settings = {
|
settings = {
|
||||||
# defined below
|
# defined below
|
||||||
theme = "hozen";
|
theme = "hozen";
|
||||||
|
|
@ -36,9 +39,10 @@ in {
|
||||||
# box drawing glyph thickness
|
# box drawing glyph thickness
|
||||||
adjust-box-thickness = -10; # why where they so thick?
|
adjust-box-thickness = -10; # why where they so thick?
|
||||||
|
|
||||||
# disable the window decorations
|
# disable the decorations
|
||||||
gtk-titlebar = false;
|
gtk-titlebar = false;
|
||||||
window-decoration = false;
|
window-decoration = false;
|
||||||
|
resize-overlay = "never";
|
||||||
|
|
||||||
# disable close terminal prompt
|
# disable close terminal prompt
|
||||||
confirm-close-surface = false;
|
confirm-close-surface = false;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
website = callPackage ./website {};
|
website = callPackage ./website {};
|
||||||
caddy-with-cloudflare = callPackage ./caddy-with-cloudflare {};
|
caddy-with-cloudflare = callPackage ./caddy-with-cloudflare {};
|
||||||
wii-u-gc-adapter = callPackage ./wii-u-gc-adapter {};
|
wii-u-gc-adapter = callPackage ./wii-u-gc-adapter {};
|
||||||
|
ghostty-shaders = callPackage ./ghostty-shaders {};
|
||||||
ook-vim = callPackage ./ook-vim {inherit inputs pkgs lib hozen;};
|
ook-vim = callPackage ./ook-vim {inherit inputs pkgs lib hozen;};
|
||||||
|
|
||||||
inherit (projectPlus) fpp-config fpp-launcher fpp-sd;
|
inherit (projectPlus) fpp-config fpp-launcher fpp-sd;
|
||||||
|
|
|
||||||
18
outputs/pkgs/ghostty-shaders/default.nix
Normal file
18
outputs/pkgs/ghostty-shaders/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
fetchFromGitHub,
|
||||||
|
stdenvNoCC,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
name = "ghostty-shaders";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "m-ahdal";
|
||||||
|
repo = "ghostty-shaders";
|
||||||
|
rev = "ec29c83d81ebe7e9ca9250b3c799a2d700c1cca8";
|
||||||
|
sha256 = "sha256-8D0H13JzCTzgzjzjERQG8ruayeHn1CPcRsd+KtC6nj4=";
|
||||||
|
};
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
mv *.glsl $out
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue