fixed hyprland module root assignment and overriding

This commit is contained in:
2026-07-13 13:25:12 +01:00
parent 458ff46192
commit bd5fdfb8f3
2 changed files with 9 additions and 8 deletions

16
flake.lock generated
View File

@@ -373,11 +373,11 @@
"wshowkeys": "wshowkeys" "wshowkeys": "wshowkeys"
}, },
"locked": { "locked": {
"lastModified": 1783777857, "lastModified": 1783943095,
"narHash": "sha256-5tIpGp3E+hsDvWQWtAEvvQfUv+wdi6OsS1qziLPMJhk=", "narHash": "sha256-yolDQ38XW+EpTKMLli8BOcHKnIbR53iM03K9T6wkc9I=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "e561e6d3be18fc3d5dc35380dc6a87ebc518b471", "rev": "84edd88834b645751babc02f44408ccb703e421f",
"revCount": 47, "revCount": 48,
"type": "git", "type": "git",
"url": "https://git.voidarc.co.uk/voidarc/hypr" "url": "https://git.voidarc.co.uk/voidarc/hypr"
}, },
@@ -389,11 +389,11 @@
"hyprland-config": { "hyprland-config": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1783777857, "lastModified": 1783943095,
"narHash": "sha256-5tIpGp3E+hsDvWQWtAEvvQfUv+wdi6OsS1qziLPMJhk=", "narHash": "sha256-yolDQ38XW+EpTKMLli8BOcHKnIbR53iM03K9T6wkc9I=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "e561e6d3be18fc3d5dc35380dc6a87ebc518b471", "rev": "84edd88834b645751babc02f44408ccb703e421f",
"revCount": 47, "revCount": 48,
"type": "git", "type": "git",
"url": "https://git.voidarc.co.uk/voidarc/hypr" "url": "https://git.voidarc.co.uk/voidarc/hypr"
}, },

View File

@@ -54,6 +54,7 @@
packages = { packages = {
hyprland = inputs'.hyprland.packages.default.override { hyprland = inputs'.hyprland.packages.default.override {
flags."--config" = "/run/hypr/config/hyprland.lua"; flags."--config" = "/run/hypr/config/hyprland.lua";
env."MODULES_ROOT" = "/run/hypr/config/modules";
runtimePackages = runtimePackages =
inputs.hyprland.lib.defaultRuntimePkgs.${system} inputs.hyprland.lib.defaultRuntimePkgs.${system}
// { // {