Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 629 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 629 Bytes

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
      };
    };
  };
}