feat: Added gdm monitors.xml and kitty font update

This commit is contained in:
uttarayan21
2025-02-02 19:44:51 +05:30
parent fff8e7ac3a
commit f588456c78
7 changed files with 127 additions and 20 deletions

23
common/ghostty.nix Normal file
View File

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

View File

@@ -20,7 +20,7 @@ lib.attrsets.optionalAttrs device.hasGui {
WantedBy = ["graphical-session.target"];
};
};
imports = [./kitty.nix];
imports = [./kitty.nix ./ghostty.nix];
programs = {
# Only for checking markdown previews
@@ -32,14 +32,6 @@ lib.attrsets.optionalAttrs device.hasGui {
asvetliakov.vscode-neovim
];
};
ghostty = {
enable = pkgs.stdenv.isLinux;
installBatSyntax = false;
settings = {
theme = "catppuccin-mocha";
};
package = pkgs.ghostty;
};
};
home.packages = with pkgs;
[]

View File

@@ -8,9 +8,9 @@
enable = device.hasGui;
# enable = false;
font = {
name = "FiraCode Nerd Font Mono";
# name = "FiraCode Nerd Font Mono";
# name = "Hasklug Nerd Font Mono";
# name = "Monaspace Krypton Var Light";
name = "Monaspace Krypton Var Light";
size = 13;
};
settings = {