~octaspire/dotfiles

ref: 2b46d61fd06bbc2f724819e25f9eef29cdc5337c dotfiles/README.org -rw-r--r-- 2.0 KiB
2b46d61foctaspire Update .gitignore file 3 months 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
* 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

**** Advanced Power Management Daemon (APMD)

Before doing this, command ~dmesg | grep cpu0~
should be used to verify that the processor
supports frequency scaling.

If it does (listing shows for example for Intel processor
~Enhanced SpeedStep~ speeds), the following commands can
be used to turn =APMD= on.

#+begin_src shell
rcctl enable apmd
rcctl set apmd flags -A
rcctl start apmd
#+end_src