Run nix fmt
Format using `nixfmt-rfc-style`.
This commit is contained in:
parent
14a1f177a0
commit
7f2df5f726
24 changed files with 317 additions and 162 deletions
15
flake.nix
15
flake.nix
|
@ -15,7 +15,8 @@
|
|||
# build-configs.url = "github:OliverDaviesLtd/build-configs";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, self, ... }@inputs:
|
||||
outputs =
|
||||
{ nixpkgs, self, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
@ -26,11 +27,11 @@
|
|||
mkWsl = import ./lib/wsl2 { inherit inputs self username; };
|
||||
|
||||
inherit (pkgs) mkShell;
|
||||
in {
|
||||
packages.${system}.default =
|
||||
mkShell { buildInputs = with pkgs; [ just ]; };
|
||||
in
|
||||
{
|
||||
packages.${system}.default = mkShell { buildInputs = with pkgs; [ just ]; };
|
||||
|
||||
formatter.${system} = pkgs.nixfmt-classic;
|
||||
formatter.${system} = pkgs.nixfmt-rfc-style;
|
||||
|
||||
nixosConfigurations = {
|
||||
apollo = mkNixos {
|
||||
|
@ -44,6 +45,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
homeConfigurations = { wsl2 = mkWsl { system = "x86_64-linux"; }; };
|
||||
homeConfigurations = {
|
||||
wsl2 = mkWsl { system = "x86_64-linux"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue