From 2e00573769a4479fa7e1a23838197f22f63e79a5 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sun, 15 Mar 2026 17:50:58 +0000 Subject: [PATCH] Working on hyprland config --- Droidnix/generated/hyprland/hyprland.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index 0152589c8..4f102cf2e 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -28,10 +28,9 @@ in }; # Symlink all files except hyprland.conf - home.file = lib.genAttrs otherHyprlandFiles (name: { - target = "/.config/hypr/${name}"; + xdg.configFile = lib.genAttrs otherHyprlandFiles (name: { + target = "hypr/${name}"; source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; - createSymlink = true; }); # Append the base config to hyprland.conf, preserving manual changes @@ -40,11 +39,7 @@ in # Your manual settings will go below this line and will not be overwritten ''; - # Create the directory structure - xdg.configFile = { - "hypr/.keep" = { - text = ""; - }; - }; + # Create the directory structure (optional, if not already created) + xdg.configFile."hypr/.keep".text = ""; }; }