Git Product home page Git Product logo

Comments (4)

Mange avatar Mange commented on June 16, 2024 1

Try either of:

wayland.windowManager.hyprland = {
  # Qualify `pkgs.hyprlandPlugins.hy3`.
  extraConfig = ''
    plugin = ${pkgs.hyprlandPlugins.hy3}/lib/libhy3.so
  '';
};

or

# Use `pkgs` scope.
wayland.windowManager.hyprland = with pkgs.hyprlandPlugins; {
  extraConfig = ''
    plugin = ${hy3}/lib/libhy3.so
  '';
};

Does that solve it?

from hy3.

bobdanek avatar bobdanek commented on June 16, 2024

Thanks for the quick reply! Unfortunately no, I'm now getting The option wayland' does not exist.` with either of those

from hy3.

Mange avatar Mange commented on June 16, 2024

wayland.windowManager is options inside of Home Manager, so that might be the reason.

If you're not using Home Manager at all, you'll need to create your own plugin = ... line in your configuration file.

Since the path isn't easy to guess without having Nix setting things up for you, this might end up being pretty annoying for you.

One way to work around that might be to generate an environment variable and then use that somehow.

environment.sessionVariables.HY3_SO_PATH = "${pkgs.hyprlandPlugins.hy3}/lib/libhy3.so"

I don't think this might be be right place for you to ask for Nix support, sadly. Maybe you should invest in the Nix Discourse or find a IRC/Discord server to ask Nix questions in? I think they would be better equipped to help you.

AFAIK this repo is only really set up to help users that use either Flakes and/or Home Manager.

from hy3.

bobdanek avatar bobdanek commented on June 16, 2024

That's entirely fair. Thanks for the help! (And feel free to close this issue)

from hy3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.