From 604401295c0e42377c7130c3c2594615f0a416d9 Mon Sep 17 00:00:00 2001 From: arunoruto Date: Sun, 27 Oct 2024 21:27:55 +0100 Subject: [PATCH] Formatting --- modules/home-manager/server/nix-utils.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/modules/home-manager/server/nix-utils.nix b/modules/home-manager/server/nix-utils.nix index 45712b2..e124837 100644 --- a/modules/home-manager/server/nix-utils.nix +++ b/modules/home-manager/server/nix-utils.nix @@ -4,17 +4,19 @@ pkgs, user, ... -}: let +}: +let default = { nixpkgs.expr = "import { }"; - formatting.command = ["nixfmt"]; + formatting.command = [ "nixfmt" ]; options = { nixos.expr = ""; home-manager.expr = ""; }; - diagnostics.supress = []; + diagnostics.supress = [ ]; }; -in { +in +{ options = { nix-utils.enable = lib.mkEnableOption "Helpful nix utils"; nixd-config = lib.mkOption { @@ -33,6 +35,15 @@ in { home.packages = with pkgs; [ alejandra nixd + # nixfmt + unstable.nixfmt-rfc-style + + unstable.nh + nix-du + nix-tree + nix-output-monitor + nvd + unstable.nixpkgs-review ]; }; }