~octaspire/dotfiles

ref: b86386e0698bb2979fcd4531fc5f5568a0fad0dd dotfiles/README.org -rw-r--r-- 1.7 KiB
b86386e0octaspire Add /etc/doas.conf a month ago
                                                                                
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
* Dotfiles

Various configuration files and helper scripts to be managed with GNU Stow.

These dotfiles are licensed under the Apache License, Version 2.0.
Some content (for example some Emacs packages included) have separate licenses.
Those files are included here as a convenience and do not belong under this license.

** Usage

*** Setting Things Up

To generate the =ox-octaspire-css= CSS and Org files,
you will need a Common Lisp implementation and
Quicklisp. The included =Makefile= in the submodule uses SBCL,
so if you are using another ANSI conforming implementation, please change
the name of your implementation into the correct variable in the =Makefile=.

#+begin_src shell
git clone --recursive <url>
make -C emacs/.config/emacs/octaspire/submodules/ox-octaspire-css
#+end_src

*** When =dotfiles= resides in ~$HOME~

#+begin_src shell
cd ~/dotfiles
stow bash
stow emacs
stow git
stow tmux
stow vi
stow vim
stow zsh
stow fish
stow bin
# and so on...
#+end_src

*** When =dotfiles= resides in ~$HOME/some/path~

#+begin_src shell
cd ~/some/path/dotfiles
stow -t ~/ bash
stow -t ~/ emacs
stow -t ~/ git
stow -t ~/ tmux
stow -t ~/ vi
stow -t ~/ vim
stow -t ~/ zsh
stow -t ~/ fish
stow -t ~/ bin
# and so on...
#+end_src


** Settings not Suitable for Stow

*** OpenBSD

**** =/etc/doas.conf=

#+begin_src shell
permit nopass octaspire as root cmd /bin/cp args crates2 /usr/local/bin/
permit nopass octaspire as root cmd /sbin/shutdown args -hp now
permit nopass octaspire as root cmd /sbin/reboot args
permit nopass octaspire as root cmd sh args /etc/netstart iwm0
permit nopass octaspire as root cmd syspatch args
permit nopass octaspire as root cmd pkg_add args -ui
#+end_src