Quezty / NixosConfiguration

Personal configurations files for NixOS. Feel free to fork the repo or come with suggestions!
1 stars 0 forks source link

wayland.windowManager.hyprland.extraConfig does not include option for sourcing file as according to documentation #4

Open Lotading opened 2 months ago

Lotading commented 2 months ago

From sourcing.nix:

{ lib, config, ...}:

{
  wayland.windowManager.hyprland.extraConfig = ''
    source = ~/repos/NixosConfiguration/homeManagerModules/hyprland/hyprland.conf
  '';
}

https://mynixos.com/home-manager/option/wayland.windowManager.hyprland.extraConfig

Lotading commented 2 months ago

But as the documentation suggests the extraconfig option works as a addon to hyprland.conf and not as a way to source the file

Quezty commented 2 months ago

I see where this will probably not work. The idea behind this was to see if I could use extraConfig to add the source attribute to the file home-manager generates in .config/hypr. Then I could only add the source attribute and make it source the file from this repo. That way I could only add my hyprland.conf file to this repo and source it. Instead of re-writing the whole config for home-manager. Will take a look at this. Most likely the sourcing.nix file will be deleted and the whole config made with home-manager.