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"];
|
myAutostartCommands = ["${pkgs.brightnessctl}/bin/brightnessctl s 64"];
|
||||||
};
|
};
|
||||||
myConfigLocation = "/home/${myUserName}/nix-conf";
|
myConfigLocation = "/home/${myUserName}/nix-conf";
|
||||||
desktopFontFullName = "Monocraft Nerd Font";
|
desktopFontFullName = "JetBrainsMono Nerd Font";
|
||||||
myAutostartCommands = [
|
myAutostartCommands = [
|
||||||
"fcitx5"
|
"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.udiskie}/bin/udiskie"
|
||||||
"${pkgs.pa-notify}/bin/pa-notify"
|
"${pkgs.pa-notify}/bin/pa-notify"
|
||||||
];
|
];
|
||||||
|
|
|
@ -13,12 +13,7 @@
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "gtk";
|
platformTheme.name = "gtk";
|
||||||
style = {
|
style = {name = "Fusion";};
|
||||||
package = pkgs.libsForQt5.breeze-qt5;
|
|
||||||
name = "breeze";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [libsForQt5.breeze-qt5];
|
||||||
libsForQt5.breeze-qt5
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{config, ...}: {
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
./auto-pairs.nix
|
./auto-pairs.nix
|
||||||
./autosave.nix
|
./autosave.nix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{config, ...}: {
|
||||||
plugins = {
|
plugins = {
|
||||||
lsp = {
|
lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -8,8 +8,15 @@
|
||||||
clangd.enable = true;
|
clangd.enable = true;
|
||||||
fsautocomplete.enable = true;
|
fsautocomplete.enable = true;
|
||||||
gopls.enable = true;
|
gopls.enable = true;
|
||||||
nil_ls.enable = true;
|
#nil_ls.enable = true;
|
||||||
#nixd.enable = true;
|
nixd = {
|
||||||
|
enable = true;
|
||||||
|
extraOptions = {
|
||||||
|
home-manager = {
|
||||||
|
expr = "(builtins.getFlake \"/home/stvnliu/nix-conf/\").homeConfigurations.\"stvnliu@nixos-msi\".options";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installRustc = true;
|
installRustc = true;
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
./git.nix
|
./git.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./tmux.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;
|
enable = true;
|
||||||
shell = "${pkgs.fish}/bin/fish";
|
shell = "${pkgs.fish}/bin/fish";
|
||||||
terminal = "screen-256color"; # Fix for apps not recognising full color
|
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;
|
package = pkgs.aileron;
|
||||||
};
|
};
|
||||||
monospace = {
|
monospace = {
|
||||||
name = "BlexMono Nerd Font";
|
name = config.desktopFontFullName;
|
||||||
package = pkgs.nerdfonts.override {fonts = ["IBMPlexMono"];};
|
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
opacity = {
|
opacity = {
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
FLAKE = config.myConfigLocation;
|
FLAKE = config.myConfigLocation;
|
||||||
GTK_IM_MODULE = lib.mkForce "";
|
GTK_IM_MODULE = lib.mkForce "";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
services.keyd = {
|
services.keyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -35,8 +34,7 @@
|
||||||
esc = "capslock";
|
esc = "capslock";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = "";
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -105,10 +103,7 @@
|
||||||
};
|
};
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(pass-wayland.withExtensions (exts: [
|
(pass-wayland.withExtensions (exts: [exts.pass-otp exts.pass-import]))
|
||||||
exts.pass-otp
|
|
||||||
exts.pass-import
|
|
||||||
]))
|
|
||||||
gparted
|
gparted
|
||||||
zed-editor
|
zed-editor
|
||||||
libsForQt5.qt5.qtquickcontrols2
|
libsForQt5.qt5.qtquickcontrols2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue