add kunsi-p14s, add bundle:arch-with-gui
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
87bf6fac68
commit
c073599f6f
85 changed files with 366 additions and 9 deletions
3
bundles/arch-with-gui/files/autologin.conf
Normal file
3
bundles/arch-with-gui/files/autologin.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Autologin]
|
||||
User=${username}
|
||||
Session=${session}
|
94
bundles/arch-with-gui/items.py
Normal file
94
bundles/arch-with-gui/items.py
Normal file
|
@ -0,0 +1,94 @@
|
|||
from os import listdir
|
||||
from os.path import join
|
||||
|
||||
actions = {
|
||||
'fc-cache_flush': {
|
||||
'command': 'fc-cache -f',
|
||||
'triggered': True,
|
||||
'needs': {
|
||||
'pkg_pacman:fontconfig',
|
||||
},
|
||||
},
|
||||
'i3pystatus_create_virtualenv': {
|
||||
'command': '/usr/bin/python3 -m virtualenv -p python3 /opt/i3pystatus/venv/',
|
||||
'unless': 'test -d /opt/i3pystatus/venv/',
|
||||
'needs': {
|
||||
'directory:/opt/i3pystatus/src',
|
||||
},
|
||||
},
|
||||
'i3pystatus_install': {
|
||||
'command': ' && '.join([
|
||||
'cd /opt/i3pystatus/src',
|
||||
'/opt/i3pystatus/venv/bin/pip install --upgrade pip {}'.format(' '.join(sorted(node.metadata.get('arch-with-gui/i3pystatus/deps', set())))),
|
||||
'/opt/i3pystatus/venv/bin/pip install --upgrade -e .',
|
||||
]),
|
||||
'needs': {
|
||||
'action:i3pystatus_create_virtualenv',
|
||||
},
|
||||
'triggered': True,
|
||||
},
|
||||
}
|
||||
|
||||
directories = {
|
||||
'/etc/sddm.conf.d': {
|
||||
'purge': True,
|
||||
},
|
||||
'/opt/i3pystatus/src': {},
|
||||
'/usr/share/fonts/bundlewrap': {
|
||||
'purge': True,
|
||||
'triggers': {
|
||||
'action:fc-cache_flush',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
svc_systemd = {
|
||||
'sddm': {
|
||||
'needs': {
|
||||
'pkg_pacman:sddm',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
git_deploy = {
|
||||
'/opt/i3pystatus/src': {
|
||||
'repo': 'https://github.com/enkore/i3pystatus.git',
|
||||
'rev': 'current',
|
||||
'triggers': {
|
||||
'action:i3pystatus_install',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for filename in listdir(join(repo.path, 'data', 'arch-with-gui', 'files', 'fonts')):
|
||||
if filename.startswith('.'):
|
||||
continue
|
||||
|
||||
if filename.endswith('.vault'):
|
||||
font_name = filename[:-6]
|
||||
attrs = {
|
||||
'content': repo.vault.decrypt_file_as_base64(join('arch-with-gui', 'files', 'fonts', filename)),
|
||||
'content_type': 'base64',
|
||||
}
|
||||
else:
|
||||
font_name = filename
|
||||
attrs = {
|
||||
'source': join('fonts', filename),
|
||||
'content_type': 'binary',
|
||||
}
|
||||
|
||||
files[f'/usr/share/fonts/bundlewrap/{font_name}'] = {
|
||||
'triggers': {
|
||||
'action:fc-cache_flush',
|
||||
},
|
||||
**attrs,
|
||||
}
|
||||
|
||||
if node.metadata.get('arch-with-gui/autologin', {}):
|
||||
files['/etc/sddm.conf.d/autologin.conf'] = {
|
||||
'context': node.metadata.get('arch-with-gui/autologin'),
|
||||
'content_type': 'mako',
|
||||
'before': {
|
||||
'svc_systemd:sddm',
|
||||
},
|
||||
}
|
49
bundles/arch-with-gui/metadata.py
Normal file
49
bundles/arch-with-gui/metadata.py
Normal file
|
@ -0,0 +1,49 @@
|
|||
assert node.os == 'arch'
|
||||
|
||||
defaults = {
|
||||
'pacman': {
|
||||
'packages': {
|
||||
# fonts
|
||||
'fontconfig': {},
|
||||
'ttf-dejavu': {
|
||||
'needed_by': {
|
||||
'pkg_pacman:sddm',
|
||||
},
|
||||
},
|
||||
|
||||
# login management
|
||||
'sddm': {},
|
||||
|
||||
# networking
|
||||
'netctl': {},
|
||||
'rfkill': {},
|
||||
'wpa_supplicant': {},
|
||||
'wpa_actiond': {},
|
||||
|
||||
# shell and other gui stuff
|
||||
'fish': {},
|
||||
'kitty': {},
|
||||
'light': {},
|
||||
'redshift': {},
|
||||
'rofi': {},
|
||||
|
||||
# sound
|
||||
'pavucontrol': {},
|
||||
'pulseaudio': {},
|
||||
'pulseaudio-zeroconf': {},
|
||||
|
||||
# window management
|
||||
'i3-wm': {},
|
||||
'i3lock': {},
|
||||
'xss-lock': {},
|
||||
|
||||
# Xorg
|
||||
'xf86-input-libinput': {},
|
||||
'xorg-server': {},
|
||||
'xorg-setxkbmap': {},
|
||||
'xorg-xev': {},
|
||||
'xorg-xinput': {},
|
||||
'xorg-xset': {},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -39,7 +39,6 @@ pkg_pacman = {
|
|||
'ldns': {},
|
||||
'less': {},
|
||||
'libtool': {},
|
||||
'linux': {},
|
||||
'logrotate': {},
|
||||
'lsof': {},
|
||||
'm4': {},
|
||||
|
@ -78,14 +77,10 @@ pkg_pacman = {
|
|||
'zip': {},
|
||||
}
|
||||
|
||||
if node.metadata.get('pacman/install_gui', False):
|
||||
pkg_pacman.update({
|
||||
'fish': {},
|
||||
'netctl': {},
|
||||
'rfkill': {},
|
||||
'wpa_supplicant': {},
|
||||
'wpa_actiond': {},
|
||||
})
|
||||
if node.metadata.get('pacman/linux-lts', False):
|
||||
pkg_pacman['linux-lts'] = {}
|
||||
else:
|
||||
pkg_pacman['linux'] = {}
|
||||
|
||||
for pkg, config in node.metadata.get('pacman/packages', {}).items():
|
||||
pkg_pacman[pkg] = config
|
||||
|
|
BIN
data/arch-with-gui/files/fonts/B612-Bold.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612-Bold.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612-BoldItalic.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612-Italic.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612-Italic.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612-Regular.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612-Regular.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612Mono-Bold.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612Mono-Bold.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612Mono-BoldItalic.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612Mono-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612Mono-Italic.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612Mono-Italic.ttf
Normal file
Binary file not shown.
BIN
data/arch-with-gui/files/fonts/B612Mono-Regular.ttf
Normal file
BIN
data/arch-with-gui/files/fonts/B612Mono-Regular.ttf
Normal file
Binary file not shown.
1
data/arch-with-gui/files/fonts/DBHEA02.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEA02.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEA03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEA03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEA07.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEA07.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEA32.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEA32.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEA33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEA33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEA37.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEA37.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEX02.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEX02.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEX03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEX03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEX07.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEX07.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEX32.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEX32.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEX33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEX33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBHEX37.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBHEX37.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEW03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEW03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEW03S.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEW03S.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEW06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEW06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEW33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEW33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEW36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEW36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEX03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEX03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEX03S.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEX03S.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEX06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEX06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEX33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEX33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBNEX36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBNEX36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBOFF03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBOFF03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBOFF06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBOFF06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBOFF33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBOFF33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBOFF36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBOFF36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN07.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN07.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN37.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN37.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN43.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN43.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN46.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN46.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN47.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN47.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN53.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN53.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN56.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN56.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN57.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN57.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN63.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN63.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN66.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN66.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN67.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN67.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN73.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN73.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN76.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN76.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAN77.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAN77.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX07.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX07.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX37.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX37.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX43.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX43.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX46.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX46.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX47.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX47.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX53.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX53.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX56.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX56.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX57.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX57.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX63.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX63.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX66.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX66.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX67.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX67.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX73.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX73.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX76.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX76.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSAX77.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSAX77.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSER03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSER03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSER03S.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSER03S.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSER06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSER06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSER33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSER33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSER36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSER36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSEX03.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSEX03.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSEX03S.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSEX03S.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSEX06.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSEX06.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSEX33.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSEX33.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
1
data/arch-with-gui/files/fonts/DBSEX36.TTF.vault
Normal file
1
data/arch-with-gui/files/fonts/DBSEX36.TTF.vault
Normal file
File diff suppressed because one or more lines are too long
144
nodes/kunsi-p14s.py
Normal file
144
nodes/kunsi-p14s.py
Normal file
|
@ -0,0 +1,144 @@
|
|||
nodes['kunsi-p14s'] = {
|
||||
'hostname': '172.19.138.90',
|
||||
'bundles': {
|
||||
'arch-with-gui',
|
||||
'lldp',
|
||||
'lm-sensors',
|
||||
#'nfs-client',
|
||||
'telegraf-battery-usage',
|
||||
'zfs',
|
||||
},
|
||||
'groups': {
|
||||
'arch',
|
||||
},
|
||||
'metadata': {
|
||||
'arch-with-gui': {
|
||||
'autologin': {
|
||||
'username': 'kunsi',
|
||||
'session': 'i3.desktop',
|
||||
},
|
||||
'i3pystatus': {
|
||||
'deps': {
|
||||
'colour',
|
||||
'netifaces',
|
||||
'basiciw',
|
||||
},
|
||||
},
|
||||
},
|
||||
'firewall': {
|
||||
'port_rules': {
|
||||
# obs websocket thingie - just allow all RFC1918 ips here
|
||||
#'4444': {
|
||||
# '10.0.0.0/8',
|
||||
# '172.16.0.0/12',
|
||||
# '192.168.0.0/16',
|
||||
#},
|
||||
# For the occasional file-share using `python -m http.server`
|
||||
'8000': {'*'},
|
||||
},
|
||||
},
|
||||
#'hosts': {
|
||||
# 'entries': {
|
||||
# '10.101.64.10': {
|
||||
# 'www.wifionice.de',
|
||||
# 'wifionice.de',
|
||||
# },
|
||||
# },
|
||||
#},
|
||||
'icinga_options': {
|
||||
'exclude_from_monitoring': True,
|
||||
},
|
||||
'interfaces': {
|
||||
'enp2s0f0': {
|
||||
'dhcp': True,
|
||||
},
|
||||
'enp5s0': {
|
||||
'ips': {
|
||||
'172.19.138.90',
|
||||
},
|
||||
'gateway4': '172.19.138.1',
|
||||
},
|
||||
# there is also wlp3s0, but that's managed by netctl
|
||||
},
|
||||
#'nfs-client': {
|
||||
# 'mounts': {
|
||||
# 'nas-scansnap': {
|
||||
# 'mountpoint': '/mnt/scansnap',
|
||||
# 'serverpath': '172.19.138.20:/srv/scansnap',
|
||||
# 'mount_options': {
|
||||
# 'retry=0',
|
||||
# 'rw',
|
||||
# },
|
||||
# },
|
||||
# 'nas-storage': {
|
||||
# 'mountpoint': '/mnt/nas',
|
||||
# 'serverpath': '172.19.138.20:/storage/nas',
|
||||
# 'mount_options': {
|
||||
# 'retry=0',
|
||||
# 'ro',
|
||||
# },
|
||||
# },
|
||||
# },
|
||||
#},
|
||||
'openssh': {
|
||||
'restrict-to': {
|
||||
'rfc1918',
|
||||
'ipv6',
|
||||
},
|
||||
},
|
||||
'pacman': {
|
||||
'linux-lts': True,
|
||||
'packages': {
|
||||
# for hardware support
|
||||
'amd-ucode': {},
|
||||
'mesa': {},
|
||||
|
||||
# various video drivers
|
||||
'libva-mesa-driver': {},
|
||||
'mesa-vdpau': {},
|
||||
'xf86-input-wacom': {},
|
||||
'xf86-video-amdgpu': {},
|
||||
|
||||
# for i3pystatus
|
||||
'iw': {},
|
||||
'wireless_tools': {},
|
||||
|
||||
# all that other random stuff one needs
|
||||
'browserpass': {},
|
||||
'claws-mail': {},
|
||||
'claws-mail-themes': {},
|
||||
'ferdi-bin': {},
|
||||
'mosh': {},
|
||||
'mosquitto': {},
|
||||
'pass': {},
|
||||
},
|
||||
},
|
||||
'systemd-networkd': {
|
||||
'enable-resolved': True,
|
||||
},
|
||||
'timezone': 'Europe/Berlin',
|
||||
'users': {
|
||||
'kunsi': {
|
||||
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
|
||||
'shell': '/usr/bin/fish',
|
||||
},
|
||||
'sophie': {
|
||||
'delete': True,
|
||||
},
|
||||
},
|
||||
'zfs': {
|
||||
'snapshots': {
|
||||
'retain_per_dataset': {
|
||||
'zroot/user/kunsi': {
|
||||
# juuuuuuuust to be sure
|
||||
'hourly': 100,
|
||||
},
|
||||
},
|
||||
'snapshot_never': {
|
||||
'zroot/system/journal',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'os': 'arch',
|
||||
}
|
Loading…
Reference in a new issue