Standard library for icebox
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.
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
};
};
};
}