fix: resolve 'outside /home/bernardo' build failure by avoiding directory symlink conflicts
- Update app configurations (btop, kitty, ghostty, opencode, lazygit, tmux) to manage individual files instead of entire directories. - Use 'recursive = true' for chromium and elephant configurations to allow multiple modules to contribute to the same directory. - This prevents conflicts when the theme loader tries to add themed config files into directories that were previously managed as monolithic symlinks.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."btop".source = ./config;
|
||||
xdg.configFile."btop/btop.conf".source = ./config/btop.conf;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."chromium".source = ./config;
|
||||
xdg.configFile."chromium/Default" = {
|
||||
source = ./config/Default;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."elephant".source = ./config;
|
||||
xdg.configFile."elephant" = {
|
||||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."ghostty".source = ./config;
|
||||
xdg.configFile."ghostty/config".source = ./config/config;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."kitty".source = ./config;
|
||||
xdg.configFile."kitty/kitty.conf".source = ./config/kitty.conf;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."lazygit".source = ./config;
|
||||
xdg.configFile."lazygit/config.yml".source = ./config/config.yml;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."opencode".source = ./config;
|
||||
xdg.configFile."opencode/opencode.json".source = ./config/opencode.json;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."tmux".source = ./config;
|
||||
xdg.configFile."tmux/tmux.conf".source = ./config/tmux.conf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user