Compare commits

...

2 Commits

Author SHA1 Message Date
jolheiser fe1fa78b7f
feat: cachix
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-11-02 14:40:29 -05:00
jolheiser ed8ae575c9
feat: ghostty
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-11-02 12:33:27 -05:00
3 changed files with 47 additions and 0 deletions

View File

@ -2,6 +2,7 @@
imports = [ imports = [
../nogui ../nogui
./firefox.nix ./firefox.nix
./ghostty.nix
./gtk.nix ./gtk.nix
./spotifyd.nix ./spotifyd.nix
./tiny.nix ./tiny.nix

View File

@ -0,0 +1,42 @@
{
xdg.configFile."ghostty/config".text = ''
background-opacity = 0.9
command = nu
confirm-close-surface = false
# Catppuccin
background = 1E1E2E
foreground = CDD6F4
cursor-color = F5E0DC
selection-background = F5E0DC
selection-foreground = 1E1E2E
# black
palette = 0=#45475A
palette = 8=#585B70
# red
palette = 1=#F38BA8
palette = 9=#F38BA8
# green
palette = 2=#A6E3A1
palette = 10=#A6E3A1
# yellow
palette = 3=#F9E2AF
palette = 11=#F9E2AF
# blue
palette = 4=#89B4FA
palette = 12=#89B4FA
# magenta
palette = 5=#F5C2E7
palette = 13=#F5C2E7
# cyan
palette = 6=#94E2D5
palette = 14=#94E2D5
# white
palette = 7=#BAC2DE
palette = 15=#A6ADC8
'';
# zig build -p ~/.local/share/ghostty -Doptimize=ReleaseFast
xdg.systemDirs.data = ["/home/jolheiser/.local/share/ghostty/share"];
home.sessionPath = ["/home/jolheiser/.local/share/ghostty/bin"];
programs.bash.enable = true;
}

View File

@ -179,6 +179,10 @@
]; ];
}; };
}; };
nixConfig = {
extra-substitutors = ["https://jolheiser.cachix.org"];
extra-trusted-public-keys = ["jolheiser.cachix.org-1:fiKkfTuHFqDK5ZOVxcqb4InUkKsrTvtMLISid7XvuVg="];
};
} }
// inputs.flake-utils.lib.eachDefaultSystem (system: let // inputs.flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};