bundlewrap/bundles/users
Franziska Kunsmann 7a04c7182e
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/users: fix typo
2020-05-16 10:32:44 +02:00
..
files display login name in tmux status bar 2020-05-09 15:36:32 +02:00
items.py bundles/users: fix typo 2020-05-16 10:32:44 +02:00
metadata.py bundles/users: add vim 2020-04-11 12:26:02 +02:00
README.md bundles/users: add readme 2020-03-28 13:12:45 +01:00

bundles/users

This bundle evaluates node metadata to determine which users should exist on the system. It will also create a home directory, add ssh keys and deploy shell configs, if user-specific configuration exists.

metadata

'users': {
    'username': {
        'home': '/home/username', # this is the default
        'shell': '/bin/bash', # this is the default
        'groups': {
            # list of groups the user should be in
        },
        'ssh_pubkey': [
            # list of ssh pubkeys that are allowed to log in
        ],
    },
}

custom shell config

Deploy your custom config to these paths:

  • data/users/files/tmux/username.conf
  • data/users/files/fish/username.conf
  • data/users/files/bash/username.bashrc