Recreated files

This commit is contained in:
2026-03-12 21:12:58 +01:00
parent 6afa7224e5
commit 3ca7a32d44
3 changed files with 377 additions and 360 deletions
+362 -356
View File
File diff suppressed because it is too large Load Diff
+8 -2
View File
@@ -671,6 +671,7 @@ The ./generated/top.nix file acts as an anchor or entry point for the entire cha
flakeRoot, flakeRoot,
... ...
}: }:
let let
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr"; hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
# Dynamically read all files in assets/hyprland/conf/ # Dynamically read all files in assets/hyprland/conf/
@@ -698,13 +699,18 @@ in
enable = true; enable = true;
}; };
# Ensure the Hyprland config directory exists
xdg.configFile."hypr/.keep" = {
text = "";
};
# Merge dynamic Hyprland configs with existing xdg.configFile # Merge dynamic Hyprland configs with existing xdg.configFile
xdg.configFile = { xdg.configFile = {
# Your existing manual configs (if any) # Your existing manual configs (if any)
} } // hyprlandConfs;
// hyprlandConfs;
}; };
} }
#+END_SRC #+END_SRC
** =generated/mangowc/top.nix= ** =generated/mangowc/top.nix=
+7 -2
View File
@@ -6,6 +6,7 @@
flakeRoot, flakeRoot,
... ...
}: }:
let let
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr"; hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
# Dynamically read all files in assets/hyprland/conf/ # Dynamically read all files in assets/hyprland/conf/
@@ -33,10 +34,14 @@ in
enable = true; enable = true;
}; };
# Ensure the Hyprland config directory exists
xdg.configFile."hypr/.keep" = {
text = "";
};
# Merge dynamic Hyprland configs with existing xdg.configFile # Merge dynamic Hyprland configs with existing xdg.configFile
xdg.configFile = { xdg.configFile = {
# Your existing manual configs (if any) # Your existing manual configs (if any)
} } // hyprlandConfs;
// hyprlandConfs;
}; };
} }