-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lib): add RON type constructors for option definitions
Add `ron` helper function to provide type-safe constructors for RON data structures. This will serve as a foundation for improving how users can define their COSMIC desktop options in a more ergonomic way.
- Loading branch information
1 parent
d283378
commit 68958ad
Showing
2 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
{ lib, ... }: | ||
let | ||
generators = import ./generators.nix { inherit lib; }; | ||
in | ||
{ | ||
inherit generators; | ||
|
||
applets = import ./applets.nix { inherit lib; }; | ||
applications = import ./applications.nix { inherit lib; }; | ||
generators = import ./generators.nix { inherit lib; }; | ||
modules = import ./modules.nix { inherit lib; }; | ||
options = import ./options.nix { inherit lib; }; | ||
utils = import ./utils.nix { inherit lib; }; | ||
|
||
inherit (generators) ron; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters