style(nix): flatten attrsets

This commit is contained in:
Léana 江 2024-02-02 07:41:01 +01:00 committed by Léana 江
parent b08f2ad622
commit 307cedac44
5 changed files with 36 additions and 42 deletions

View file

@ -1,11 +1,9 @@
{...}: {
programs = let
programs.starship = let
inherit (builtins) readFile;
in {
starship = {
enable = true;
enableFishIntegration = true;
settings = fromTOML (readFile ./starship.toml);
};
enable = true;
enableFishIntegration = true;
settings = fromTOML (readFile ./starship.toml);
};
}