nixdots/modules/home-manager/desktop/symlink.nix
2026-01-10 18:00:49 +03:00

25 lines
590 B
Nix

{config, ...}: let
dots = "${config.home.homeDirectory}/nixdots/config";
link = path: config.lib.file.mkOutOfStoreSymlink path;
in {
xdg.configFile."hypr" = {
source = link "${dots}/hypr";
recursive = true;
};
xdg.configFile."waybar" = {
source = link "${dots}/waybar";
recursive = true;
};
xdg.configFile."kitty" = {
source = link "${dots}/kitty";
recursive = true;
};
xdg.configFile."wofi" = {
source = link "${dots}/wofi";
recursive = true;
};
xdg.configFile."mako" = {
source = link "${dots}/mako";
recursive = true;
};
}