ported hyprland config to lua

This commit is contained in:
2026-05-28 18:51:25 +02:00
parent 63e1ca2802
commit 74e63c6c40
8 changed files with 1647 additions and 556 deletions

View File

@@ -23,11 +23,14 @@ in
];
xdg.configFile = {
"hypr/hyprland.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprland.conf;
"hypr/hyprland.lua".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprland.lua;
# The stups get linked to the config directory as well in order to use the autocomplete without copying it over in other places.
"hypr/hl.meta.lua".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hl.meta.lua;
"hypr/hypridle.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hypridle.conf;
"backgrounds".source = config.lib.file.mkOutOfStoreSymlink ./backgrounds;
"hypr/hyprland.hardware.conf".text = config.modules.hyprland.hardwareConfig;
"hypr/hyprland_hardware.lua".text = config.modules.hyprland.hardwareConfig;
"hypr/nix.conf".text = ''
$defaultBrowser=${defaultBrowser}