Add alejandra nix formatter and integrate into NixOS flake
This commit is contained in:
@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user