From db373a8c727cad91d375b40a6c70b11ed73bdafb Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Apr 2024 13:30:45 -0400 Subject: Add nixfmt to Lint.hs nixfmt is the soon-to-be official formatter for Nix code, as per the NixOS GitHub group. So I figure I should just adopt it without worrying too much about the specifics of the formatting. I just formatted everything in one go, hence the huge diff, oh well. --- Biz/Bot.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Biz/Bot.nix') diff --git a/Biz/Bot.nix b/Biz/Bot.nix index afd5eb4..3b7710b 100644 --- a/Biz/Bot.nix +++ b/Biz/Bot.nix @@ -1,14 +1,7 @@ -{ options -, lib -, config -, pkgs -, ... -}: +{ options, lib, config, pkgs, ... }: -let - cfg = config.services.bizbot; -in -{ +let cfg = config.services.bizbot; +in { options.services.bizbot = { enable = lib.mkEnableOption "Enable the bizbot service"; package = lib.mkOption { -- cgit v1.2.3