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

18
flake.lock generated
View File

@@ -144,11 +144,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752603129, "lastModified": 1765682243,
"narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=", "narHash": "sha256-yeCxFV/905Wr91yKt5zrVvK6O2CVXWRMSrxqlAZnLp0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b", "rev": "58bf3ecb2d0bba7bdf363fc8a6c4d49b4d509d03",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -459,11 +459,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1755615617, "lastModified": 1763835633,
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=", "narHash": "sha256-HzxeGVID5MChuCPESuC0dlQL1/scDKu+MmzoVBJxulM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "20075955deac2583bb12f07151c2df830ef346b4", "rev": "050e09e091117c3d7328c7b2b7b577492c43c134",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -481,11 +481,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759724568, "lastModified": 1765764138,
"narHash": "sha256-i/+YcMMMFXeUKWbR683eoxyz+4Jcb01MHVCjj6OHl0Y=", "narHash": "sha256-Nb5y5xSDQLMeUYiA1bQkbmHffGm0d/XXWoJjFu8ovw0=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "b63e1644c96baaaccb78f8d3101f39fbfee733cb", "rev": "bd8815d0a686267386268e7cc70315124e21362b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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

View File

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

View File

@@ -60,6 +60,7 @@ in
GSK_RENDERER = "ngl"; GSK_RENDERER = "ngl";
EDITOR = "nvim"; EDITOR = "nvim";
}; };
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# programs.adb.enable = true; # programs.adb.enable = true;
@@ -76,7 +77,7 @@ in
libreoffice-qt libreoffice-qt
# ncmpcpp # ncmpcpp
signal-desktop pkgs-unstable.signal-desktop
gnupg gnupg
(pass.withExtensions (exts: [ exts.pass-otp ])) (pass.withExtensions (exts: [ exts.pass-otp ]))
@@ -108,9 +109,8 @@ in
gimp gimp
inkscape inkscape
mysql-workbench ungoogled-chromium
pkgs-unstable.brave
# arm support # arm support
pkgs-unstable.sparrow pkgs-unstable.sparrow
@@ -140,6 +140,22 @@ in
enableSSHSupport = true; enableSSHSupport = true;
}; };
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
main = {
pageup = "leftmouse";
pagedown = "rightmouse";
};
};
};
};
system.stateVersion = "25.05"; 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; diagnostic.settings.virtual_text = true;
userCommands.W.command = "w"; userCommands.W.command = "w";
plugins = { plugins = {
web-devicons.enable = true;
sleuth.enable = true; sleuth.enable = true;
lastplace.enable = true; lastplace.enable = true;
@@ -127,6 +136,7 @@
pylsp.enable = true; pylsp.enable = true;
pyright.enable = true; pyright.enable = true;
nixd.enable = true; nixd.enable = true;
biome.enable = true;
}; };
keymaps = { keymaps = {

Submodule secrets updated: fdda3b7b10...1fd5856d0b