GithubHelp home page GithubHelp logo

Use with hyprland-nix about nix HOT 2 CLOSED

hmajid2301 avatar hmajid2301 commented on July 23, 2024
Use with hyprland-nix

from nix.

Comments (2)

getchoo avatar getchoo commented on July 23, 2024

Is there a way I can use this with hyprland-nix

as we only provide support for official home-manager and nixos modules, we can't guarantee compatibility with those from a third party

in this situation though, there isn't much stopping our theming from working besides that option name (as far as i can tell). i think a good idea would be to open an issue upstream asking for the option to be renamed from config to settings, as that would help a lot with compatibility not just for us, but also previous users of the official home-manager module -- plus, settings is a bit more common of a name

Is there a way to ignore the hyprland module in this flake? Probably more of a general question. I haven't tried to enable catppuccin in hyprland btw.

you should be able to disable the module the same way you replace modules. taking from the flakes readme example, one of these options could work

{
  nixosConfigurations.host = pkgs.lib.nixosSystem {
    inherit system;
    modules = [
      catppuccin.nixosModules.catppuccin
      home-manager.nixosModules.home-manager
      {
        home-manager.users.user = {
          imports = [
            ./home.nix
            catppuccin.homeManagerModules.catppuccin
          ];
          
          # here's where we should be able to disable the module
          # sorry in advanced if this doesn't work :(
          disabledModules = [
            # using the relative file path
            "modules/home-manager/hyprland.nix"
            # or using the absolute path
            (catppuccin + "/modules/home-manager/hyprland.nix")
          ];
        };
      }
    ];
  };
}

from nix.

hmajid2301 avatar hmajid2301 commented on July 23, 2024

Thank you, I think the flake I am using will eventually replace the default. I just wanted to know how to disable a specific module :).

from nix.

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.