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:
Bernardo Magri
2026-04-12 22:53:44 +01:00
parent b3fb246ce3
commit ffdc67d246
8 changed files with 14 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."btop".source = ./config; xdg.configFile."btop/btop.conf".source = ./config/btop.conf;
} }

View File

@@ -1,5 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."chromium".source = ./config; xdg.configFile."chromium/Default" = {
source = ./config/Default;
recursive = true;
};
} }

View File

@@ -1,5 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."elephant".source = ./config; xdg.configFile."elephant" = {
source = ./config;
recursive = true;
};
} }

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."ghostty".source = ./config; xdg.configFile."ghostty/config".source = ./config/config;
} }

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."kitty".source = ./config; xdg.configFile."kitty/kitty.conf".source = ./config/kitty.conf;
} }

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."lazygit".source = ./config; xdg.configFile."lazygit/config.yml".source = ./config/config.yml;
} }

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."opencode".source = ./config; xdg.configFile."opencode/opencode.json".source = ./config/opencode.json;
} }

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
xdg.configFile."tmux".source = ./config; xdg.configFile."tmux/tmux.conf".source = ./config/tmux.conf;
} }