Guest User

Untitled

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