Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages