rename myOptions to modules

This commit is contained in:
Dragyx 2024-04-12 22:03:29 +02:00
commit 48f8ac7b19
45 changed files with 1065 additions and 89 deletions

View file

@ -3,16 +3,16 @@
lib,
...
}: with lib; let
cfg = config.myOptions.programs.starship;
username = config.myOptions.other.system.username;
cfg = config.modules.programs.starship;
username = config.modules.other.system.username;
in {
options.myOptions.programs.starship.enable = mkEnableOption "starship";
options.modules.programs.starship.enable = mkEnableOption "starship";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.starship = {
enable = true;
enableZshIntegration = config.myOptions.programs.zsh.enable;
enableZshIntegration = config.modules.programs.zsh.enable;
settings = {
add_newline = false;
command_timeout = 1000;