diff --git a/hosts/common/home.nix b/hosts/common/home.nix index 3836f78..bfec83d 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -18,11 +18,6 @@ ]; home.file = { - ".config/fastfetch" = { - source = builtins.toPath ../../dotfiles/fastfetch; - recursive = true; - force = true; - }; "wallpaper" = { source = builtins.toPath ../../wallpapers; recursive = true; diff --git a/modules/home-manager/cli/default.nix b/modules/home-manager/cli/default.nix new file mode 100644 index 0000000..aad8d5c --- /dev/null +++ b/modules/home-manager/cli/default.nix @@ -0,0 +1,6 @@ +{ ... }: +{ + imports = [ + ./fastfetch.nix + ]; +} diff --git a/modules/home-manager/cli/fastfetch.nix b/modules/home-manager/cli/fastfetch.nix new file mode 100644 index 0000000..86d2f05 --- /dev/null +++ b/modules/home-manager/cli/fastfetch.nix @@ -0,0 +1,15 @@ +{ lib, smayzy, ... }: +let + inherit (lib) mkIf; +in +{ + config = mkIf smayzy.base-cli-pkgs.enable { + home.file = { + ".config/fastfetch" = { + source = builtins.toPath ./fastfetch; + recursive = true; + force = true; + }; + }; + }; +} diff --git a/dotfiles/fastfetch/config.jsonc b/modules/home-manager/cli/fastfetch/config.jsonc similarity index 100% rename from dotfiles/fastfetch/config.jsonc rename to modules/home-manager/cli/fastfetch/config.jsonc diff --git a/dotfiles/fastfetch/stylish-reyna.png b/modules/home-manager/cli/fastfetch/stylish-reyna.png similarity index 100% rename from dotfiles/fastfetch/stylish-reyna.png rename to modules/home-manager/cli/fastfetch/stylish-reyna.png diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 6f07498..23c3f38 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -1,6 +1,7 @@ { ... }: { imports = [ + ./cli ./lf ./notif ./terminal