aboutsummaryrefslogtreecommitdiffstats
path: root/rincewind.org
blob: b96152d1584c196d32ba561ec32e7ee8dfb12abc (plain)
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
* PC Speaker

Disable the PC Speaker because I get annoyed at it beeping at me all the time.

#+begin_src conf :tangle "/sudo::/etc/modprobe.d/nobeep.conf"
  blacklist pcspkr
#+end_src

* mkinitcpio

Enable the =amdgpu= module because I have an AMD video card.

#+begin_src sh :tangle "/sudo::/etc/mkinitcpio.conf.d/amdgpu.conf"
  MODULES=(amdgpu)
#+end_src

Set up the hooks loaded into the image. Use =mkinitcpio -H <MODULE>= to find out what a module does.

- =base= :: Crucial runtime necessities for booting. Should always be included.
- =udev= :: Adds the udev daemon to the initramfs to allow dynamic loading of modules and reliable detection of the root device via UUID.
- =autodetect= :: ???
- =microcode= :: ???
- =modconf= :: ???
- =kms= :: ???
- =keyboard= :: ???
- =keymap= :: ???
- =consolefont= :: ???
- =block= :: ???
- =encrypt= :: Decrypt encrypted root drive.
- =filesystems= :: ???
- =fsck= :: ???

#+begin_src sh :tangle "/sudo::/etc/mkinitcpio.conf.d/hooks.conf"
  HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck)
#+end_src