Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scary 👻 #56

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Use `ghostty` on `hermes-macos`
- Use Go VSCode extension
- Use `clan.lol` as a remote builder for `hermes-macos`
- Added `phi-nixos` to `clan`
- Changed `nixpkgs.hostPlatform` to be automatically set by `mkConfiguration` rather than `hardware-configuration.nix` and passed as `system` to `nixpkgs.lib.nixosSystem`
Expand Down
2 changes: 1 addition & 1 deletion hosts/hermes/darwin-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Update this when firefox-bin-unwrapped is merged
(assert pkgs.firefox.meta.unsupported && pkgs.firefox-bin.meta.unsupported;
"/Applications/Firefox.app")
"/System/Applications/Utilities/Terminal.app"
"/Applications/Ghostty.app"
"/Applications/1Password.app"
"${pkgs.vscode}/Applications/Visual Studio Code.app"
"${pkgs.spotify}/Applications/Spotify.app"
Expand Down
1 change: 1 addition & 0 deletions modules/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ in {
"builder"
"cache"
"flakes"
"ghostty"
"kitty"
"syncthing"
"termite"
Expand Down
48 changes: 48 additions & 0 deletions modules/ghostty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
homeModule = { options, pkgs, lib, ... }: {
xdg.configFile."ghostty/config".text =
assert !options.programs ? ghostty; ''
theme = hybrid-krompus
bold-is-bright = true
'';

xdg.configFile."ghostty/themes/hybrid-krompus".text =
assert !options.programs ? ghostty; ''
# black
palette = 0=#0a0a0a
palette = 8=#73645d

# red
palette = 1=#e61f00
palette = 9=#ff3f3d

# green
palette = 2=#6dd200
palette = 10=#c1ff05

# yellow
palette = 3=#fa6800
palette = 11=#ffa726

# blue
palette = 4=#255ae4
palette = 12=#00ccff

# magenta
palette = 5=#ff0084
palette = 13=#ff65a0

# cyan
palette = 6=#36fcd3
palette = 14=#96ffe3

# white
palette = 7=#b6afab
palette = 15=#fff5ed

background = 0d0c0c
foreground = fff5ed
cursor-color = 00ccff
'';
};
}
1 change: 1 addition & 0 deletions modules/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
pkgs.vscode-extensions.jnoortheen.nix-ide
pkgs.vscode-extensions.xadillax.viml
pkgs.vscode-extensions.nefrob.vscode-just-syntax
pkgs.vscode-extensions.golang.go
] ++ lib.optionals (hostPlatform.isx86_64 || hostPlatform.isDarwin) [
(pkgs.vscode-extensions.ms-python.python.override {
pythonUseFixed = true;
Expand Down
Loading