home-manager: make the hm modules match the nixos ones

This commit is contained in:
Veneficium 2024-11-05 17:45:56 +01:00
parent 4fc501b1e2
commit 32a5ebf118
16 changed files with 256 additions and 98 deletions

View file

@ -1,11 +1,17 @@
{ ... }:
{ config, lib, ... }:
{
programs.starship = {
enable = true;
#enableZshIntegration = true;
enableTransience = true;
enableFishIntegration = true;
options.settings.programs.starship = {
enable = lib.mkEnableOption "enable starship prompt";
};
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
config = lib.mkIf config.settings.programs.starship.enable {
programs.starship = {
enable = true;
#enableZshIntegration = true;
enableTransience = true;
enableFishIntegration = true;
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
};
};
}