annotate home.py @ 288:3af02e24eaf9

minor
author drewp@bigasterisk.com
date Sun, 21 Apr 2024 17:01:13 -0700
parents b58f05be720a
children 65e28d2e0cd8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
110
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
1 from pyinfra import host
115
8012f6095220 update to current configs
drewp@bigasterisk.com
parents: 110
diff changeset
2 from pyinfra.operations import files, server
110
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
3
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
4 if host.name in [
115
8012f6095220 update to current configs
drewp@bigasterisk.com
parents: 110
diff changeset
5 'dash',
110
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
6 'slash',
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
7 'bang',
146
2065998876e4 add host 'ditto'
drewp@bigasterisk.com
parents: 115
diff changeset
8 'ditto',
110
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
9 ]:
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
10 # maybe bring sync.py in here too
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
11
288
drewp@bigasterisk.com
parents: 240
diff changeset
12 server.shell(commands=['chsh -s /bin/zsh drewp'])
110
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
13 files.link(path='/home/drewp/.aptitude/config', target='../own/config/aptitude-config', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
14 files.link(path='/home/drewp/.config/blender', target='../own/config/blender', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
15 files.link(path='/home/drewp/.emacs.d', target='own/config/emacs-d', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
16 files.link(path='/home/drewp/.fonts', target='own/config/fonts', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
17 files.link(path='/home/drewp/.fvwm2rc', target='own/config/fvwm2rc', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
18 files.link(path='/home/drewp/.hgrc', target='own/config/hgrc', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
19 files.link(path='/home/drewp/.kitty', target='own/config/kitty', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
20 files.link(path='/home/drewp/.zshrc', target='own/config/zshrc', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
21 files.link(path='/home/drewp/bin', target='own/config/bin/', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
22 files.link(path='/home/drewp/blenderkit_data', target='own/gfx-lib/blenderkit_data/', force=True)
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
23
de407da9224a homedir links
drewp@bigasterisk.com
parents:
diff changeset
24 #drwx------ 3 drewp drewp 4096 Jul 31 15:07 .config/syncthing
188
087b84e68765 comment
drewp@bigasterisk.com
parents: 146
diff changeset
25 #npm.rc?
198
1329c6f5baef update skaffold, pdm
drewp@bigasterisk.com
parents: 188
diff changeset
26 # run on bang: pnpm server --background start