nix: set flake formatter to alejandra, do fmt
This commit is contained in:
parent
a907d42366
commit
72d083fdf7
@ -10,11 +10,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, ... }:
|
outputs = {
|
||||||
let
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
|
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
|
||||||
|
|
||||||
homeConfigurations.vis = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations.vis = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user