mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +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" ''
|
||||
${pkgs.yt-dlp}/bin/yt-dlp --config-location "${yt-dlp-for-audio-config}" $@
|
||||
'';
|
||||
getDotfiles = path: {
|
||||
source = "${inputs.dotfiles}/${path}";
|
||||
recursive = true;
|
||||
};
|
||||
getDotfiles = path: "${inputs.dotfiles}/${path}";
|
||||
in {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
@ -168,11 +165,10 @@ in {
|
||||
|
||||
# All of the personal configurations.
|
||||
xdg.configFile = {
|
||||
"doom" = getDotfiles "emacs";
|
||||
"kitty" = getDotfiles "kitty";
|
||||
"lazygit" = getDotfiles "lazygit";
|
||||
"lf" = getDotfiles "lf";
|
||||
"nvim" = getDotfiles "nvim";
|
||||
"wezterm" = getDotfiles "wezterm";
|
||||
"doom".source = getDotfiles "emacs";
|
||||
"kitty".source = getDotfiles "kitty";
|
||||
"lf".source = getDotfiles "lf";
|
||||
"nvim".source = getDotfiles "nvim";
|
||||
"wezterm".source = getDotfiles "wezterm";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user