- Nix 60.7%
- QML 25.2%
- JavaScript 12.7%
- Shell 0.7%
- Python 0.7%
| hosts/tenebris | ||
| modules | ||
| pkgs | ||
| shell | ||
| target | ||
| themes | ||
| .gitignore | ||
| flake.lock | ||
| flake.lock.old | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| test-plymouth.fish | ||
| util.nix | ||
@mageowl's dots
My personal NixOS dots.
Installation
To install, create your own host directory under hosts (see Organization), and run nh os switch . && nh home switch . && reboot.
- Make sure to import a theme file from
hosts/${hostname}/default.nix - Don't forget to generate a
hardware-configuration.nixto configure things like your partition table and computer-specific drivers. - Set the
dots.locationoption to wherever the repository is stored
See hosts/tenebris for more details.
Organization
The config is organized into modules, which can each be enabled or disabled with the dots.modules.*.enable options. Each host is defined in flake.nix using util.mkSystem, which in turn imports hosts/${hostname}/system.nix for NixOS, hosts/${hostname}/home.nix for home manager, and hosts/${hostname}/default.nix for both. Quickshell's configuration is stored separately in the shell directory.
Direct links mode
Whilst editing application configs, you may find yourself running nh home switch often. To make this easier, consider using the NIX_DIRECT_LINKS enviornment flag:
DOTS_DIRECT_LINKS=1 nh home switch --impure
This creates a link directly from the dots folder to an application's config directory, without going through the Nix store. This isn't a good idea for daily use, but it helps while your editing the config. For that reason, direct links will automatically be disabled the next time you run nh home switch without the enviornment variable. Currently it affects the following application's configs:
- Quickshell
- Make sure to restart quickshell after enabling or disabling with
systemd restart --user quickshell.
- Make sure to restart quickshell after enabling or disabling with