feat(ghostty): update device check and font configuration
Some checks failed
Flake checker / Build Nix targets (push) Failing after 16s

feat(programs): add rustup configuration
This commit is contained in:
uttarayan21
2025-09-29 11:26:59 +05:30
parent 599952e44e
commit 0125345990
3 changed files with 16 additions and 7 deletions

View File

@@ -1,23 +1,20 @@
{ {
pkgs, pkgs,
device, device,
inputs,
... ...
}: { }: {
programs.ghostty = { programs.ghostty = {
enable = pkgs.stdenv.isLinux; enable = device.is "ryu";
installBatSyntax = false; installBatSyntax = false;
settings = { settings = {
theme = "catppuccin-mocha"; theme = "catppuccin-mocha";
# font-family = [ font-family = [
# "" "Hasklug Nerd Font Mono"
# "Hasklug Nerd Font Mono" ];
# ];
window-decoration = false; window-decoration = false;
title = ""; title = "";
command = "fish"; command = "fish";
background-opacity = 0.8; background-opacity = 0.8;
}; };
package = pkgs.ghostty;
}; };
} }

View File

@@ -36,6 +36,7 @@
./zoxide.nix ./zoxide.nix
./television.nix ./television.nix
./himalaya.nix ./himalaya.nix
./rustup.nix
# ./goread.nix # ./goread.nix
# ./helix.nix # ./helix.nix

11
home/programs/rustup.nix Normal file
View File

@@ -0,0 +1,11 @@
{
pkgs,
device,
...
}: {
home.packages = with pkgs;
[]
++ lib.optionals (!device.isServer) [rustup]
++ lib.optionals device.isLinux []
++ lib.optionals device.isDarwin [];
}