Add alejandra nix formatter and integrate into NixOS flake

This commit is contained in:
2026-02-19 15:40:15 +01:00
parent 6e682b315b
commit 637def6ca3
3 changed files with 88 additions and 2 deletions

View File

@ -37,12 +37,17 @@
inputs.nixpkgs.follows = "nixpkgs";
};
alejandra = {
url = "github:kamadorueda/alejandra/4.0.0";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-flatpak.url = "github:gmodena/nix-flatpak";
grub2-themes.url = "github:vinceliuice/grub2-themes";
};
outputs = inputs@{ nixpkgs, home-manager, plasma-manager, nixos-hardware, stylix, niri, zen-browser, grub2-themes, nix-flatpak, ... }:
outputs = inputs@{ nixpkgs, alejandra, home-manager, plasma-manager, nixos-hardware, stylix, niri, zen-browser, grub2-themes, nix-flatpak, ... }:
let
username = "cookiez";
hostname = "nixos";
@ -63,6 +68,7 @@
inherit version;
inherit system;
inherit project;
inherit alejandra;
host = hostname;
};
modules = [