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

This commit is contained in:
henrov committed 2026-03-07 16:04:32 +01:00
1 parent f0f8fc55cc
commit 1665a76374
4 files changed
+306 -306

No files matched your search

@@ -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