fixed the directory

This commit is contained in:
kenji
2025-12-12 11:34:02 -06:00
parent 5535d43146
commit 3c32424793
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ in {
# 1. Map the individual scripts with executable = true # 1. Map the individual scripts with executable = true
( (
lib.genAttrs lib.genAttrs
(map (name: ".config/hypr/scripts/${name}") scripts) (map (name: ".config/hypr/hyprland/scripts/${name}") scripts)
(path: { (path: {
source = "${scriptDir}/${builtins.baseNameOf path}"; source = "${scriptDir}/${builtins.baseNameOf path}";
executable = true; executable = true;
@@ -56,7 +56,7 @@ in {
) )
# 2. Add the 'ai' directory separately (cannot use executable=true on dirs) # 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";
} }
)) ))
+1 -1
View File
@@ -18,7 +18,7 @@ in {
config = lib.mkIf cfg.settings.hyprland.useNixForConf { config = lib.mkIf cfg.settings.hyprland.useNixForConf {
home.file = { home.file = {
".config/hypr/scripts" = { ".config/hypr/hyprland/scripts" = {
source = builtins.path { source = builtins.path {
path = ../../.config/hypr/hyprland/scripts; path = ../../.config/hypr/hyprland/scripts;
executable = true; executable = true;