-
Notifications
You must be signed in to change notification settings - Fork 13
/
config-root.yaml
71 lines (71 loc) · 1.56 KB
/
config-root.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
variables:
locales: |-
de_DE.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_NZ.UTF-8 UTF-8
en_US.UTF-8 UTF-8
ja_JP.UTF-8 UTF-8
actions:
packages: |
apt-get install \
autorandr \
awesome \
bat \
dex \
fd-find \
fzf \
gron \
hexyl \
inputplug \
keynav \
light \
libnotify-bin \
moreutils \
playerctl \
ripgrep \
rofi \
vivid \
wmctrl \
xclip \
xinput \
xsecurelock \
xsettingsd \
xss-lock
locale_gen: |
echo "{{@@ locales @@}}" | while read -r LOCALE; do
sed -Ei "s/#\\s*$LOCALE/$LOCALE/" /etc/locale.gen
done
locale-gen
tzupdate: |
curl -s -o /usr/local/bin/tzupdate https://raw.githubusercontent.com/cdown/tzupdate/develop/tzupdate.py
chmod 755 /usr/local/bin/tzupdate
sed -i -E -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python3,' /usr/local/bin/tzupdate
cp {{@@ _dotdrop_dotpath @@}}/tzupdate/99-tzupdate /etc/NetworkManager/dispatcher.d/
mkdir -p /etc/sudoers.d/
cp {{@@ _dotdrop_dotpath @@}}/tzupdate/tzupdate /etc/sudoers.d/
config:
backup: true
banner: false
create: true
dotpath: dotfiles-root
force_chmod: true
keepdot: false
link_dotfile_default: nolink
link_on_import: nolink
longkey: false
dotfiles:
f_aptitude:
src: aptitude/config
dst: /root/.aptitude/config
f_sudoers_local:
src: sudoers.local
dst: /etc/sudoers.d/local
chmod: 440
profiles:
default:
dotfiles:
- ALL
actions:
- packages
- locale_gen
- tzupdate