-
-
Save hyperfekt/1d8868a0810cd14e9a656784b1136c87 to your computer and use it in GitHub Desktop.
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
with import <nixpkgs/lib>; | |
(evalModules { | |
modules = [ | |
({ config, ... }: { | |
options.settings = mkOption { | |
type = types.attrsOf types.bool; | |
}; | |
config.settings.bar = true; | |
config.settings.foo = config.settings.bar; | |
}) | |
]; | |
}).config.settings.foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment