fix: warnings and update zen

This commit is contained in:
2025-12-15 12:32:42 -05:00
parent 53142c9e02
commit b713f0f3d9
7 changed files with 48 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
src = pkgs.fetchgit {
url = "https://git.koon.us/max/money.git";
hash = "sha256-HG7R/rv6H7jIBp0qK3azy1x1myjOBJCQqI+K0ydztKs=";
hash = "sha256-TPUeYuffR8U0M3Wnc3yGmqDhEjWIhRRFaKDkhTBsNG8=";
};
expoWeb = pkgs.stdenv.mkDerivation (finalAttrs: {
@@ -151,6 +151,7 @@
DEBUG = "*";
NODE_OPTIONS = "--trace-warnings --trace-uncaught";
OAUTH_DISCOVERY_URL = "https://auth.koon.us/.well-known/openid-configuration";
PLAID_ENV = "production";
};
serviceConfig = {

View File

@@ -1,4 +1,9 @@
{ lib, ... }: {
programs.chromium = {
enable = true;
};
programs.firefox = let
lock-false = {
Value = false;

View File

@@ -2,7 +2,8 @@
i18n.defaultLocale = "en_US.UTF-8";
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" "zh_CN.UTF-8/UTF-8" ];
i18n.inputMethod = {
enabled = "fcitx5";
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
# fcitx5-gtk # alternatively, kdePackages.fcitx5-qt
kdePackages.fcitx5-qt # alternatively, kdePackages.fcitx5-qt

View File

@@ -60,6 +60,7 @@ in
GSK_RENDERER = "ngl";
EDITOR = "nvim";
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# programs.adb.enable = true;
@@ -76,7 +77,7 @@ in
libreoffice-qt
# ncmpcpp
signal-desktop
pkgs-unstable.signal-desktop
gnupg
(pass.withExtensions (exts: [ exts.pass-otp ]))
@@ -108,9 +109,8 @@ in
gimp
inkscape
mysql-workbench
ungoogled-chromium
pkgs-unstable.brave
# arm support
pkgs-unstable.sparrow
@@ -140,6 +140,22 @@ in
enableSSHSupport = true;
};
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
main = {
pageup = "leftmouse";
pagedown = "rightmouse";
};
};
};
};
system.stateVersion = "25.05";
}

View File

@@ -84,12 +84,21 @@
}
];
autoCmd = [
{
event = [ "BufWritePre" ];
pattern = "*";
command = "lua vim.lsp.buf.format()";
}
];
diagnostic.settings.virtual_text = true;
userCommands.W.command = "w";
plugins = {
web-devicons.enable = true;
sleuth.enable = true;
lastplace.enable = true;
@@ -127,6 +136,7 @@
pylsp.enable = true;
pyright.enable = true;
nixd.enable = true;
biome.enable = true;
};
keymaps = {