chore(linter/formatter): Add statix

This commit is contained in:
DashieTM 2025-09-06 17:43:11 +02:00
parent 68d16b8212
commit 3eef78654a
2 changed files with 5 additions and 2 deletions

View file

@ -10,7 +10,7 @@
url = "github:nix-community/lanzaboote/v0.4.2"; url = "github:nix-community/lanzaboote/v0.4.2";
inputs.nixpkgs.follows = "unstable"; inputs.nixpkgs.follows = "unstable";
}; };
statix.url = "github:oppiliappan/statix";
# Darkreader requires es20, hence a stable pin # Darkreader requires es20, hence a stable pin
pkgsDarkreader.url = "github:NixOs/nixpkgs/nixos-24.11"; pkgsDarkreader.url = "github:NixOs/nixpkgs/nixos-24.11";
@ -97,7 +97,7 @@
inherit pkgsDarkreader; inherit pkgsDarkreader;
}; };
system = currentSystem; system = currentSystem;
lib = inputs.unstable.lib; inherit (inputs.unstable) lib;
}; };
docs = import ./docs { docs = import ./docs {
inherit inputs; inherit inputs;

View file

@ -4,6 +4,8 @@
lib, lib,
options, options,
pkgs, pkgs,
inputs,
system,
... ...
}: { }: {
options.mods = { options.mods = {
@ -50,6 +52,7 @@
then then
with pkgs; with pkgs;
[ [
inputs.statix.packages.${system}.default
adwaita-icon-theme adwaita-icon-theme
dbus dbus
dconf dconf