Rebuild files to add wayland as separate file in system/core

This commit is contained in:
2026-03-07 16:03:08 +01:00
parent d6ad57c8c9
commit f0f8fc55cc
4 changed files with 308 additions and 308 deletions
@@ -1,4 +1,4 @@
{ config, pkgs, lib, user, inputs, ... }:
{ 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 ./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