From 8e3e635cf124fa13999e4afb88dd68f4eab45776 Mon Sep 17 00:00:00 2001 From: Kyure_A <49436968+Kyure-A@users.noreply.github.com> Date: Fri, 26 Jul 2024 00:31:47 +0900 Subject: [PATCH] sheldon: format code --- modules/programs/sheldon.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/programs/sheldon.nix b/modules/programs/sheldon.nix index c7964226..48d992cb 100644 --- a/modules/programs/sheldon.nix +++ b/modules/programs/sheldon.nix @@ -4,7 +4,7 @@ with lib; let cfg = config.programs.sheldon; - tomlFormat = pkgs.formats.toml {}; + tomlFormat = pkgs.formats.toml { }; cmd = "${config.home.profileDirectory}/bin/sheldon"; in { meta.maintainers = pkgs.sheldon.meta.maintainers; @@ -22,10 +22,8 @@ in { settings = mkOption { inherit (tomlFormat) type; default = { }; - description = '' - ''; - example = literalExpression '' - ''; + description = ""; + example = literalExpression ""; }; }; @@ -37,11 +35,11 @@ in { }; programs.bash.initExtra = mkIf (cfg.settings != { }) '' - eval "$(sheldon source)" + eval "$(sheldon source)" ''; programs.zsh.initExtra = mkIf (cfg.settings != { }) '' - eval "$(sheldon source)" + eval "$(sheldon source)" ''; }; }