bundlewrap/nodes/kunsi-t470.py

76 lines
2 KiB
Python
Raw Normal View History

2021-02-18 13:25:26 +00:00
# My own laptop.
nodes['kunsi-t470'] = {
'hostname': 'localhost',
'bundles': {
'basic',
2021-02-18 14:11:05 +00:00
'lldp',
2021-03-11 14:23:47 +00:00
'nfs-client',
2021-02-18 13:25:26 +00:00
'pacman',
'openssh',
'sudo',
'systemd',
'systemd-networkd',
2021-02-18 13:25:26 +00:00
'users',
},
'groups': set(),
'metadata': {
'timezone': 'Europe/Berlin',
2021-02-18 13:25:26 +00:00
'icinga_options': {
'exclude_from_monitoring': True,
},
'hosts': {
'entries': {
# XXX maybe outdated, verify on next train trip
'10.101.64.10': {
'www.wifionice.de',
'wifionice.de',
},
},
},
'interfaces': {
'enp0s31f6': {
'dhcp': True,
'use_dhcp_domains': True,
'send_hostname': False,
},
# there is also wlp4s0, but that's managed by netctl
},
'locale': {
'default': 'en_DK.UTF-8',
},
2021-03-11 14:23:47 +00:00
'nfs-client': {
'mounts': {
'nas-storage': {
'mountpoint': '/mnt/nas',
'serverpath': '172.19.138.20:/storage/nas',
'mount_options': {
'retry=0',
'ro',
},
},
},
},
2021-02-18 13:25:26 +00:00
'pacman': {
'packages': {
'fish': {},
},
},
'systemd-networkd': {
'enable-resolved': True,
},
2021-02-18 13:25:26 +00:00
'users': {
'kunsi': {
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
'shell': '/usr/bin/fish',
# FIXME move qemu VMs out of /home/kunsi
'home-mode': '0755',
2021-02-18 13:25:26 +00:00
},
'sophie': {
'delete': True,
},
},
},
'os': 'arch',
}