fix: warnings and update zen
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ lib, ... }: {
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.firefox = let
|
||||
lock-false = {
|
||||
Value = false;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user