Anthony Rodriguez
390691be57
I have decided to refactor the entire structure of my repository, as the old one was getting quite cluttered and I needed something that made more sense. I've decided to go with the following, which will be explained in the README when I find the time to do it. The gist of it is: - Put everything shared into its shared directory - Rewrite the theme module (now style) to be more split, as it is theming a lot of different apps - Merge nixos and home-manager configurations back into a singular config directory Thanks a lot to llakala for the massive help she was with my Nix code. commit |
||
---|---|---|
.. | ||
anastacia | ||
solaire | ||
vamos | ||
default.nix | ||
README.md |
💻 Hosts
This directory contains the entry points for different NixOS system configurations. Each host represents a complete system configuration, combining NixOS system settings and Home Manager configurations.
Components
default.nix
The default.nix
file in each host directory serves as the main entry point for the system configuration. It:
- Sets up NixOS configurations
- Sets up Home Manager configurations
- References host-specific module declarations
modules/
The modules/
directory contains host-specific declarations for custom modules that are defined in the flake's nixosModules
output. This so far only includes global theme / style related declarations.
Adding a New Host
- Create a new directory for the host
- Add a
hardware-configuration.nix
generated withnixos-generate-config
- Add a
default.nix
that imports the desired configurations - Create host-specific module declarations in the
modules/
subdirectory to customize the global modules as needed - Reference the new host in
hosts/default.nix