From 3c324247939fe6fd254f6e80a5606a60185918e8 Mon Sep 17 00:00:00 2001 From: kenji Date: Fri, 12 Dec 2025 11:34:02 -0600 Subject: [PATCH] fixed the directory --- modules/desktop/desktop.nix | 4 ++-- modules/desktop/hyprland/default.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/desktop/desktop.nix b/modules/desktop/desktop.nix index ed4407ed0..f7b5c4f74 100644 --- a/modules/desktop/desktop.nix +++ b/modules/desktop/desktop.nix @@ -48,7 +48,7 @@ in { # 1. Map the individual scripts with executable = true ( lib.genAttrs - (map (name: ".config/hypr/scripts/${name}") scripts) + (map (name: ".config/hypr/hyprland/scripts/${name}") scripts) (path: { source = "${scriptDir}/${builtins.baseNameOf path}"; executable = true; @@ -56,7 +56,7 @@ in { ) # 2. Add the 'ai' directory separately (cannot use executable=true on dirs) // { - ".config/hypr/scripts/ai".source = "${scriptDir}/ai"; + ".config/hypr/hyprland/scripts/ai".source = "${scriptDir}/ai"; } )) diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 29de017f9..e1ddad234 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -18,7 +18,7 @@ in { config = lib.mkIf cfg.settings.hyprland.useNixForConf { home.file = { - ".config/hypr/scripts" = { + ".config/hypr/hyprland/scripts" = { source = builtins.path { path = ../../.config/hypr/hyprland/scripts; executable = true;