feat(ghostty): update device check and font configuration
Some checks failed
Flake checker / Build Nix targets (push) Failing after 16s
Some checks failed
Flake checker / Build Nix targets (push) Failing after 16s
feat(programs): add rustup configuration
This commit is contained in:
@@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
11
home/programs/rustup.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
device,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.packages = with pkgs;
|
||||||
|
[]
|
||||||
|
++ lib.optionals (!device.isServer) [rustup]
|
||||||
|
++ lib.optionals device.isLinux []
|
||||||
|
++ lib.optionals device.isDarwin [];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user