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:
parent
a82a005ed2
commit
ba450b88ef
9 changed files with 49 additions and 26 deletions
|
@ -32,10 +32,10 @@
|
|||
myAutostartCommands = ["${pkgs.brightnessctl}/bin/brightnessctl s 64"];
|
||||
};
|
||||
myConfigLocation = "/home/${myUserName}/nix-conf";
|
||||
desktopFontFullName = "Monocraft Nerd Font";
|
||||
desktopFontFullName = "JetBrainsMono Nerd Font";
|
||||
myAutostartCommands = [
|
||||
"fcitx5"
|
||||
"${pkgs.foot}/bin/foot --server -f \"${desktopFontFullName}:size=12\" -o colors.alpha=0.85"
|
||||
# "${pkgs.foot}/bin/foot --server -f \"${desktopFontFullName}:size=12\" -o colors.alpha=0.85"
|
||||
"${pkgs.udiskie}/bin/udiskie"
|
||||
"${pkgs.pa-notify}/bin/pa-notify"
|
||||
];
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
./auto-pairs.nix
|
||||
./autosave.nix
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
./git.nix
|
||||
./rofi.nix
|
||||
./tmux.nix
|
||||
./foot.nix
|
||||
];
|
||||
}
|
||||
|
|
21
home-manager/stvnliu/programs/foot.nix
Normal file
21
home-manager/stvnliu/programs/foot.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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'";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
FLAKE = config.myConfigLocation;
|
||||
GTK_IM_MODULE = lib.mkForce "";
|
||||
};
|
||||
|
||||
services.pcscd.enable = true;
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
|
@ -35,8 +34,7 @@
|
|||
esc = "capslock";
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
'';
|
||||
extraConfig = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -105,10 +103,7 @@
|
|||
};
|
||||
security.polkit.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pass-wayland.withExtensions (exts: [
|
||||
exts.pass-otp
|
||||
exts.pass-import
|
||||
]))
|
||||
(pass-wayland.withExtensions (exts: [exts.pass-otp exts.pass-import]))
|
||||
gparted
|
||||
zed-editor
|
||||
libsForQt5.qt5.qtquickcontrols2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue