mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 19:26:34 +01:00
run fmt
This commit is contained in:
parent
55aeca7389
commit
d206479a6d
4 changed files with 16 additions and 12 deletions
13
flake.nix
13
flake.nix
|
@ -83,7 +83,12 @@
|
|||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ self, nixpkgs, treefmt-nix, ... }:
|
||||
inputs@{
|
||||
self,
|
||||
nixpkgs,
|
||||
treefmt-nix,
|
||||
...
|
||||
}:
|
||||
let
|
||||
forSystems = f: nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: f system);
|
||||
pkgs' = system: nixpkgs.legacyPackages.${system};
|
||||
|
@ -101,10 +106,8 @@
|
|||
pkgs = pkgs' system;
|
||||
}
|
||||
);
|
||||
formatter = forSystems (
|
||||
system: (treefmtEval system).config.build.wrapper
|
||||
);
|
||||
checks = forSystems ( system: {
|
||||
formatter = forSystems (system: (treefmtEval system).config.build.wrapper);
|
||||
checks = forSystems (system: {
|
||||
formatting = (treefmtEval system).config.build.check self;
|
||||
});
|
||||
};
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.jopejoe1.common;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./jopejoe1
|
||||
];
|
||||
imports = [ ./jopejoe1 ];
|
||||
}
|
||||
|
|
|
@ -51,9 +51,7 @@ in
|
|||
};
|
||||
buildMachines = [
|
||||
{
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
];
|
||||
systems = [ "x86_64-linux" ];
|
||||
supportedFeatures = [
|
||||
"kvm"
|
||||
"big-parallel"
|
||||
|
|
Loading…
Reference in a new issue