hm-modules: the great refactoring part 1
This commit is contained in:
parent
1b2f5d6094
commit
b7ccaf8285
11 changed files with 29 additions and 39 deletions
17
homeManagerModules/cliPrograms/starship/default.nix
Normal file
17
homeManagerModules/cliPrograms/starship/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.settings.programs.starship = {
|
||||
enable = lib.mkEnableOption "enable starship prompt";
|
||||
};
|
||||
|
||||
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);
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue