mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
users/foo-dogsquared: use dotfiles folder non-recursively
This commit is contained in:
parent
fbcce04bd1
commit
3250b21acd
@ -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";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user