2024-10-30 13:51:36 +10:00
|
|
|
### Philosophy
|
|
|
|
|
I try to use Home Manager as little as possible. When I first started with NixOS I found
|
|
|
|
|
it distracting and confusing. NixOS already handles system wide and user packages, so having
|
|
|
|
|
another user level package management method was baffling. Obviously I understand now how
|
|
|
|
|
it can be useful (so I do use it). But where possible I will instead use the functionality
|
|
|
|
|
of Nix rather than Home Manager.
|
|
|
|
|
|
2024-10-30 17:35:16 +10:00
|
|
|
###### Structuring Modules
|
|
|
|
|
Modules are organised into groups (ie "Core"), from here a module is structured as either:
|
|
|
|
|
1. a single `.nix` file (ie bluetooth.nix). I do this when I won't implement an alternative
|
|
|
|
|
2. a directory (ie `sound`) containing a set of alternative implementations and a `default.nix`
|
|
|
|
|
that simply imports one of the implementations. For the `sound` example I currently have it structured
|
|
|
|
|
to default to `pipewire.nix`. I haven't made alternatives yet but the idea is that it is HIGHLY likely
|
|
|
|
|
I do in future.
|
|
|
|
|
|
2024-10-30 13:51:36 +10:00
|
|
|
|
|
|
|
|
### TODO
|
|
|
|
|
There are a lot of `TODO` items in this repository. To improve these dotfiles
|
|
|
|
|
I should run a command to find files containing "TODO" and then implement the
|
|
|
|
|
recommendation I left behind :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-30 17:35:16 +10:00
|
|
|
##### Small Explanation of Fonts
|
|
|
|
|
There are four types of fonts (to my knowledge at least):
|
|
|
|
|
1. serif (funny squigles / small elegant strokes included)
|
|
|
|
|
2. sans-serif (meaning "without serifs")
|
|
|
|
|
3. monospace (all glyphs are of a uniform size)
|
|
|
|
|
4. emoji (cute lil faces)
|
|
|
|
|
|
|
|
|
|
Fun fact: on Android, the emojis you are seeing are part of the noto-emoji font :)
|
|
|
|
|
|
|
|
|
|
For finding a font for programming I highly recommend trying https://www.codingfont.com/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### My config
|
|
|
|
|
|
|
|
|
|
Font:
|
|
|
|
|
Iosevka nerd font set as default/prefered font
|
|
|
|
|
Terminal uses IosevkaTerm nerd font
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-30 13:51:36 +10:00
|
|
|
|
|
|
|
|
### Credits
|
|
|
|
|
1. https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles
|
|
|
|
|
The simplicity of their layout is amazing, was really good to pick out small modules and learn how something works / is configured.
|
2024-10-30 17:35:16 +10:00
|
|
|
2. https://github.com/Misterio77/nix-starter-configs
|
|
|
|
|
Really great starter config for learning how parts interact and how to generally structure flakes
|
|
|
|
|
3. https://nixos.wiki/wiki/Fonts
|
|
|
|
|
Wiki page explaining how to install fonts and nerd fonts on NixOS
|