feat: Change nix formatter to alejandra

This commit is contained in:
ulic-youthlic 2025-11-09 06:25:03 +08:00
parent 0b8b647f05
commit b4c3dfec42
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
229 changed files with 2528 additions and 2884 deletions

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
qq = outputs.packages."${system}".QQ;
}

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
cliphist = outputs.packages."${system}".cliphist';
}

View file

@ -1,28 +1,26 @@
{ ... }@args:
final: prev:
let
{...} @ args: final: prev: let
inherit (prev) lib;
in
with lib;
pipe
[
./niri.nix
./spotifyx.nix
./radicle-explorer.nix
./wshowkeys.nix
# ./QQ.nix
./helix.nix
./cliphist.nix
./zulip.nix
./spotifyd.nix
./nautilus.nix
./neovim-nightly.nix
./vim.nix
with lib;
pipe
[
./niri.nix
./spotifyx.nix
./radicle-explorer.nix
./wshowkeys.nix
# ./QQ.nix
./helix.nix
./cliphist.nix
./zulip.nix
./spotifyd.nix
./nautilus.nix
./neovim-nightly.nix
./vim.nix
# Nur
./nur.nix
]
[
(map (file: import file args))
(overlays: (lib.composeManyExtensions overlays) final prev)
]
# Nur
./nur.nix
]
[
(map (file: import file args))
(overlays: (lib.composeManyExtensions overlays) final prev)
]

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
helix = outputs.packages."${system}".helix;
}

View file

@ -1,8 +1,7 @@
{ ... }:
_final: prev: {
{...}: _final: prev: {
nautilus = prev.nautilus.overrideAttrs (nprev: {
buildInputs =
(nprev.buildInputs or [ ])
(nprev.buildInputs or [])
++ (with prev.gst_all_1; [
gst-plugins-good
gst-plugins-bad

View file

@ -1,8 +1,5 @@
{ inputs, ... }:
_final: prev:
let
{inputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
neovim-nightly = inputs.neovim-nightly.packages.${system}.neovim;
}

View file

@ -1 +1 @@
{ inputs, ... }: inputs.niri-flake.overlays.niri
{inputs, ...}: inputs.niri-flake.overlays.niri

View file

@ -1 +1 @@
{ inputs, ... }: inputs.nur.overlays.default
{inputs, ...}: inputs.nur.overlays.default

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
radicle-explorer = outputs.packages."${system}".radicle-explorer';
}

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
spotifyd = outputs.packages.${system}.spotifyd';
}

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
spotify = outputs.packages."${system}".spotifyx;
}

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
vim = outputs.packages.${system}.vim';
}

View file

@ -1,8 +1,5 @@
{ outputs, ... }:
_final: prev:
let
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
{
in {
wshowkeys = outputs.packages.${system}.wshowkeys-mao;
}

View file

@ -1,8 +1,7 @@
{ ... }:
_final: prev: {
{...}: _final: prev: {
zulip = prev.zulip.overrideAttrs (
_finalAttrs: prevAttrs: {
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ prev.makeWrapper ];
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [prev.makeWrapper];
postInstall =
#bash
''