Rebuild files to introduce flakeRoot to prevent confudion about deep relative paths like ../../../../../

This commit is contained in:
2026-03-07 16:04:32 +01:00
parent f0f8fc55cc
commit 1665a76374
4 changed files with 306 additions and 306 deletions
@@ -1,4 +1,4 @@
{ config, pkgs, lib, user, inputs, __flakeRoot,... }:
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
{
imports = [
# No subfolders to import
@@ -1,7 +1,7 @@
{ config, pkgs, lib, user, inputs, ... }:
let
# Read the contents of the bindings.conf file
bindingsContent = builtins.readFile (__flakeRoot + "/assets/hyprland/conf/bindings.conf");
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
# Create a configuration file from the bindings content
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
in