From 088facf700946cb8f2d96c6089185bdc2a67180a Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 30 Jun 2024 09:56:30 -0400 Subject: alejandra -> nixfmt-rfc-style --- users/seth/programs/starship/default.nix | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'users/seth/programs/starship/default.nix') diff --git a/users/seth/programs/starship/default.nix b/users/seth/programs/starship/default.nix index b6082c1..fed7fd4 100644 --- a/users/seth/programs/starship/default.nix +++ b/users/seth/programs/starship/default.nix @@ -1,12 +1,12 @@ -{ - config, - lib, - ... -}: let +{ config, lib, ... }: +let cfg = config.seth.programs.starship; -in { +in +{ options.seth.programs.starship = { - enable = lib.mkEnableOption "Starship configuration" // {default = config.seth.enable;}; + enable = lib.mkEnableOption "Starship configuration" // { + default = config.seth.enable; + }; }; config = lib.mkIf cfg.enable { @@ -19,13 +19,11 @@ in { enableBashIntegration = false; enableZshIntegration = false; - settings = - { - format = "$all"; - palette = "catppuccin_mocha"; - command_timeout = 250; - } - // lib.importTOML ./starship.toml; + settings = { + format = "$all"; + palette = "catppuccin_mocha"; + command_timeout = 250; + } // lib.importTOML ./starship.toml; }; }; } -- cgit v1.2.3