update shell flakes; update pkgs.system

This commit is contained in:
EdenQwQ 2025-11-17 13:24:38 +08:00
parent 57f38b5c02
commit 393023b5f7
14 changed files with 44 additions and 40 deletions

View file

@ -5,7 +5,7 @@
...
}:
let
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${pkgs.system};
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
colors = config.lib.stylix.colors.withHashtag;
rPkgs =
with pkgs-stable.rPackages;

View file

@ -32,7 +32,7 @@
lua_ls.enable = true;
nixd = {
enable = true;
package = inputs.nixd.packages.${pkgs.system}.nixd;
package = inputs.nixd.packages.${pkgs.stdenv.hostPlatform.system}.nixd;
settings = {
formatting.command = [ "nixfmt" ];
nixd.nixpkgs.expr = "import <nixpkgs> { }";
@ -51,7 +51,7 @@
};
nil_ls = {
enable = true;
package = inputs.nil.packages.${pkgs.system}.nil;
package = inputs.nil.packages.${pkgs.stdenv.hostPlatform.system}.nil;
settings = {
# formatting.command = ["nixfmt"];
nix.flake = {