Rebuild files to introduce flakeRoot to prevent confudion about deep relative paths like ../../../../../
This commit is contained in:
+310
-308
File diff suppressed because it is too large
Load Diff
+8
-6
@@ -741,19 +741,21 @@ This is top file of this level which contains just an import statement for all r
|
|||||||
** =generated/hyprland/keyboard_binds/top.nix=
|
** =generated/hyprland/keyboard_binds/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
|
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/keyboard_binds/top.nix :noweb tangle :mkdirp yes :eval never-html
|
#+BEGIN_SRC nix :tangle generated/hyprland/keyboard_binds/top.nix :noweb tangle :mkdirp yes :eval never-html
|
||||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||||
let
|
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;
|
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
# Home Manager configurations must be nested under the user
|
||||||
enable = true; # Enable Hyprland as the window manager
|
home-manager.users.${user.username} = {
|
||||||
config = configFile; # Use the generated configuration file
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
config = configFile;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/hyprland/notifications/top.nix=
|
** =generated/hyprland/notifications/top.nix=
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||||
let
|
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;
|
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
# Home Manager configurations must be nested under the user
|
||||||
enable = true; # Enable Hyprland as the window manager
|
home-manager.users.${user.username} = {
|
||||||
config = configFile; # Use the generated configuration file
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
config = configFile;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user