diff options
| author | seth <[email protected]> | 2024-06-30 09:56:30 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-06-30 10:23:04 -0400 |
| commit | 088facf700946cb8f2d96c6089185bdc2a67180a (patch) | |
| tree | c5b4e4cffbb3ee4ad2498c2251892bd457e9d3c7 /users/seth/programs/starship | |
| parent | 5d3045a0769af3a94fba7b5cf646e8498aaef595 (diff) | |
alejandra -> nixfmt-rfc-style
Diffstat (limited to 'users/seth/programs/starship')
| -rw-r--r-- | users/seth/programs/starship/default.nix | 26 |
1 files changed, 12 insertions, 14 deletions
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; }; }; } |
