Guest User

Untitled

a guest
Dec 22nd, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. {pkgs, lib, config, ...}:
  2. {
  3. options.home-manager.users = lib.mkOption {
  4. type = lib.types.attrsOf (lib.types.submodule ({ config, ... }: {
  5. options = {
  6. foo = lib.mkOption {
  7. description = "Test";
  8. type = lib.types.string;
  9. default = "bar";
  10. };
  11. };
  12. config = {
  13. xdg.configFile.foo.text = config.foo;
  14. };
  15. }));
  16. };
  17. }
Advertisement
Add Comment
Please, Sign In to add comment