From 44d016a1d8b117cbb2f66e1040c690e141124bf8 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 6 Jul 2023 18:06:57 +0530 Subject: [PATCH] chore: reformat Nix files with alejandra --- flake.nix | 75 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 35 deletions(-) diff --git a/flake.nix b/flake.nix index 02c2e59..e8b54da 100644 --- a/flake.nix +++ b/flake.nix @@ -15,39 +15,44 @@ inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.inputs.systems.follows = "systems"; - outputs = { self, devshell, flake-utils, nixpkgs, ... }: - flake-utils.lib.eachDefaultSystem (system: - let - pkgs = import nixpkgs { - inherit system; - overlays = [ devshell.overlays.default ]; - }; - in { - devShell = pkgs.devshell.mkShell { - name = "blog-dev-shell"; - bash = { interactive = ""; }; - packages = with pkgs; [ - git - go - hugo - libwebp - nodejs - yarn - ]; - commands = [ - { - name = "dev"; - category = "development"; - command = "hugo server -D"; - help = "Run the Hugo development server"; - } - { - name = "build"; - category = "deployment"; - command = "hugo"; - help = "Build the site"; - } - ]; - }; - }); + outputs = { + self, + devshell, + flake-utils, + nixpkgs, + ... + }: + flake-utils.lib.eachDefaultSystem (system: let + pkgs = import nixpkgs { + inherit system; + overlays = [devshell.overlays.default]; + }; + in { + devShell = pkgs.devshell.mkShell { + name = "blog-dev-shell"; + bash = {interactive = "";}; + packages = with pkgs; [ + git + go + hugo + libwebp + nodejs + yarn + ]; + commands = [ + { + name = "dev"; + category = "development"; + command = "hugo server -D"; + help = "Run the Hugo development server"; + } + { + name = "build"; + category = "deployment"; + command = "hugo"; + help = "Build the site"; + } + ]; + }; + }); }