diff --git a/modules/home/fish.nix b/modules/home/fish.nix index 71cfffe..855a738 100644 --- a/modules/home/fish.nix +++ b/modules/home/fish.nix @@ -5,24 +5,21 @@ with lib; { options.myModules.home.fish = { enable = mkEnableOption "custom fish configuration"; - user = mkOption { - type = types.str; - description = "Username for user-specific config"; - }; }; config = mkIf config.myModules.home.fish.enable ( let - userConfigPath = "${configFiles}/users/${config.myModules.home.fish.user}/fish"; - # Use user-specific config if it exists, otherwise fall back to shared - configPath = (configFiles + "/users/${config.myModules.home.fish.user}/fish"); + configPath = (configFiles + "/users/${config.myModules.home.user}/fish"); in { # Use the correct Home Manager option home.file.".config/fish" = { source = configPath; recursive = true; }; + programs.fish = { + enable = true; + }; } ); }