Skip to content

icebox-nix/std

Repository files navigation

std

Standard library for icebox

What is it?

It is a "standard library" for icebox plugins. User set value in it for plugins to use. Mainly, it is used to describe device and contain system-wide information (like preferred DPi) to share in a inter-plugin way.

How to use it?

Code your configuration.nix like this

let
  std =
    builtins.fetchurl "https://github.com/icebox-nix/std/raw/master/std.nix";
in {
  # Other parts omitted
  icebox = {
    # Other parts omitted
    lib = {
      modules = [ (import "${std}" { lib = lib; }) ];
      configs = {
        # Other parts omitted
      };
    };
  };
}

About

Standard library for icebox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published