Mercurial > code > home > repos > infra
comparison home.py @ 110:de407da9224a
homedir links
author | drewp@bigasterisk.com |
---|---|
date | Sat, 20 Aug 2022 14:13:02 -0700 |
parents | |
children | 8012f6095220 |
comparison
equal
deleted
inserted
replaced
109:4e9e3446b078 | 110:de407da9224a |
---|---|
1 from pyinfra import host | |
2 from pyinfra.operations import files | |
3 | |
4 if host.name in [ | |
5 #'dash', | |
6 'slash', | |
7 'bang', | |
8 ]: | |
9 # maybe bring sync.py in here too | |
10 | |
11 # chsh zsh | |
12 | |
13 files.link(path='/home/drewp/.aptitude/config', target='../own/config/aptitude-config', force=True) | |
14 files.link(path='/home/drewp/.config/blender', target='../own/config/blender', force=True) | |
15 files.link(path='/home/drewp/.emacs.d', target='own/config/emacs-d', force=True) | |
16 files.link(path='/home/drewp/.fonts', target='own/config/fonts', force=True) | |
17 files.link(path='/home/drewp/.fvwm2rc', target='own/config/fvwm2rc', force=True) | |
18 files.link(path='/home/drewp/.hgrc', target='own/config/hgrc', force=True) | |
19 files.link(path='/home/drewp/.kitty', target='own/config/kitty', force=True) | |
20 files.link(path='/home/drewp/.zshrc', target='own/config/zshrc', force=True) | |
21 files.link(path='/home/drewp/bin', target='own/config/bin/', force=True) | |
22 files.link(path='/home/drewp/blenderkit_data', target='own/gfx-lib/blenderkit_data/', force=True) | |
23 | |
24 #drwx------ 3 drewp drewp 4096 Jul 31 15:07 .config/syncthing |