[Refactor]: Tidy Up Hyprland File Linking Code #100
Labels
No labels
blocked: external
bug
documentation
feature
optimization
refactor
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#131 Impurity Subset
kruziikrel13/NixOS
Reference
kruziikrel13/NixOS#100
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
github.com/Kruziikrel13/NixOS@b59a9aa8b9/modules/desktop/hyprland/config.nix (L22-L26)Scope
Hyprland
config.nixNotes / Ideas
Either scan
config/hyprlandand link the files that way, or create a filename map and iterate over that to link the files.Ideally, would like to also move
variables.lua.inback intoconfig/hyprlandResolved using a string file map for now in
9dd316e26c.But as demonstrated by the subsequent commit
6883bf39b4files can still be missed. So scanning the dir should probably be implemented.Entire directory as a whole can't be linked as it'll create a readonly directory, which blocks placement of
variables.luaIf want to scan the dir, need to convert the paths to strings.
File linking code has been rewritten as of
455761bdbdThis has reintroduced the full store path issue whereby config files are now linked by store path, and therefore immutable. But that is another issue #152
This has reintroduced the full store path issue whereby config files are now linked by store path, and therefore immutable. But that is another issue #152
This has reintroduced the full store path issue whereby config files are now linked by store path, and therefore immutable. But that is another issue #152