Add official formatter to flake
Flake checks / Check (pull_request) Successful in 5m57s Details

Allows running `nix fmt`, which will format using the official style as
agreed upon in nixpkgs
Pablo Ovelleiro Corral 2024-04-28 17:36:45 +02:00
parent f18fee25e4
commit 02905b5278
Signed by untrusted user: pinpox
GPG Key ID: 29E9A6ED72CCB334
1 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,11 @@
{
inherit username;
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) inputs.deploy-rs.lib;
checks = builtins.mapAttrs (
system: deployLib: deployLib.deployChecks self.deploy
) inputs.deploy-rs.lib;
formatter."x86_64-linux" = inputs.unstable.legacyPackages."x86_64-linux".nixfmt-rfc-style;
deploy.nodes = self.lib.deploy.mkDeployNodes self.nixosConfigurations {
nachtigall = {