bundlewrap/bundles/users
Franziska Kunsmann e51ad5993a
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
bundles/users: ensure we have kitty terminfo
2022-02-14 20:45:57 +01:00
..
files bundles/users: add lsb_release and local date to status line 2021-10-16 07:42:19 +02:00
items.py bundles/users: remove duplicate keys from ssh pubkeys 2021-07-24 12:10:03 +02:00
metadata.py bundles/users: ensure we have kitty terminfo 2022-02-14 20:45:57 +01: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