users/foo-dogsquared: use dotfiles folder non-recursively

This commit is contained in:
Gabriel Arazas 2022-07-08 00:30:54 +08:00
parent fbcce04bd1
commit 3250b21acd

View File

@ -20,10 +20,7 @@ let
yt-dlp-for-audio = pkgs.writeScriptBin "yt-dlp-audio" '' yt-dlp-for-audio = pkgs.writeScriptBin "yt-dlp-audio" ''
${pkgs.yt-dlp}/bin/yt-dlp --config-location "${yt-dlp-for-audio-config}" $@ ${pkgs.yt-dlp}/bin/yt-dlp --config-location "${yt-dlp-for-audio-config}" $@
''; '';
getDotfiles = path: { getDotfiles = path: "${inputs.dotfiles}/${path}";
source = "${inputs.dotfiles}/${path}";
recursive = true;
};
in { in {
programs.home-manager.enable = true; programs.home-manager.enable = true;
@ -168,11 +165,10 @@ in {
# All of the personal configurations. # All of the personal configurations.
xdg.configFile = { xdg.configFile = {
"doom" = getDotfiles "emacs"; "doom".source = getDotfiles "emacs";
"kitty" = getDotfiles "kitty"; "kitty".source = getDotfiles "kitty";
"lazygit" = getDotfiles "lazygit"; "lf".source = getDotfiles "lf";
"lf" = getDotfiles "lf"; "nvim".source = getDotfiles "nvim";
"nvim" = getDotfiles "nvim"; "wezterm".source = getDotfiles "wezterm";
"wezterm" = getDotfiles "wezterm";
}; };
} }