nix: set flake formatter to alejandra, do fmt
This commit is contained in:
parent
a907d42366
commit
72d083fdf7
11
flake.nix
11
flake.nix
@ -10,17 +10,22 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, ... }:
|
||||
let
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
|
||||
|
||||
homeConfigurations.vis = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [ ./home.nix ];
|
||||
modules = [./home.nix];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
|
Loading…
Reference in New Issue
Block a user