feat: font; qt theme; foot program

font: Change from Monocraft to JetBrains
qt: Change theme to Fusion (doesn't look like it works)
foot: enable proper home-manger foot server support
This commit is contained in:
Zhongheng Liu 2024-10-26 12:47:26 +03:00
commit ba450b88ef
Signed by: steven
GPG key ID: DC8F48E7B4C40905
9 changed files with 49 additions and 26 deletions

View file

@ -13,12 +13,7 @@
qt = {
enable = true;
platformTheme.name = "gtk";
style = {
package = pkgs.libsForQt5.breeze-qt5;
name = "breeze";
};
style = {name = "Fusion";};
};
home.packages = with pkgs; [
libsForQt5.breeze-qt5
];
home.packages = with pkgs; [libsForQt5.breeze-qt5];
}

View file

@ -1,8 +1,4 @@
{
pkgs,
config,
...
}: {
{config, ...}: {
imports = [
./auto-pairs.nix
./autosave.nix

View file

@ -1,4 +1,4 @@
{
{config, ...}: {
plugins = {
lsp = {
enable = true;
@ -8,8 +8,15 @@
clangd.enable = true;
fsautocomplete.enable = true;
gopls.enable = true;
nil_ls.enable = true;
#nixd.enable = true;
#nil_ls.enable = true;
nixd = {
enable = true;
extraOptions = {
home-manager = {
expr = "(builtins.getFlake \"/home/stvnliu/nix-conf/\").homeConfigurations.\"stvnliu@nixos-msi\".options";
};
};
};
rust_analyzer = {
enable = true;
installRustc = true;

View file

@ -8,5 +8,6 @@
./git.nix
./rofi.nix
./tmux.nix
./foot.nix
];
}

View file

@ -0,0 +1,21 @@
{
pkgs,
config,
lib,
...
}: {
programs.foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
font = "${config.desktopFontFullName}:size=12";
dpi-aware = lib.mkForce "yes";
};
mouse = {
hide-when-typing = "yes";
};
};
server.enable = true;
};
}

View file

@ -8,5 +8,13 @@
enable = true;
shell = "${pkgs.fish}/bin/fish";
terminal = "screen-256color"; # Fix for apps not recognising full color
mouse = true;
plugins = with pkgs; [
tmuxPlugins.cpu
{
plugin = tmuxPlugins.resurrect;
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
}
];
};
}

View file

@ -16,8 +16,8 @@ in {
package = pkgs.aileron;
};
monospace = {
name = "BlexMono Nerd Font";
package = pkgs.nerdfonts.override {fonts = ["IBMPlexMono"];};
name = config.desktopFontFullName;
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
};
};
opacity = {