From 3250b21acdd7c848deb968f754698bd85459f78b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas <foo.dogsquared@gmail.com> Date: Fri, 8 Jul 2022 00:30:54 +0800 Subject: [PATCH] users/foo-dogsquared: use dotfiles folder non-recursively --- users/home-manager/foo-dogsquared/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/users/home-manager/foo-dogsquared/default.nix b/users/home-manager/foo-dogsquared/default.nix index e1d54070..a41baf34 100644 --- a/users/home-manager/foo-dogsquared/default.nix +++ b/users/home-manager/foo-dogsquared/default.nix @@ -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"; }; }