Rebuild files to introduce flakeRoot to prevent confudion about deep relative paths like ../../../../../
This commit is contained in:
+302
-302
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -729,7 +729,7 @@ This is top file of this level which contains just an import statement for all r
|
||||
** =generated/hyprland/decorations/top.nix=
|
||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||
#+BEGIN_SRC nix :tangle generated/hyprland/decorations/top.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, user, inputs, __flakeRoot,... }:
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
@@ -744,7 +744,7 @@ This is top file of this level which contains just an import statement for all r
|
||||
{ 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user