flocon/hosts
Anthony Rodriguez 99b6b41de3
treewide: migrate config/system/core to modules
Moved everything from core into modules. I want to get all the NixOS
stuff moved first, and do home-manager after. I used the different
profiles to disable configuration that might break my server, as it has
its own configuration already. This will need to be refactored later, as
I want to ultimately only use the local module system.
2025-01-14 12:01:33 +01:00
..
anastacia hosts: group shared modules under hosts/default.nix 2024-12-30 19:28:59 +01:00
solaire hosts: group shared modules under hosts/default.nix 2024-12-30 19:28:59 +01:00
vamos hosts/vamos/config/theme: update wallpaper 2025-01-06 16:01:58 +01:00
default.nix treewide: migrate config/system/core to modules 2025-01-14 12:01:33 +01:00
README.md hosts: add README 2024-10-22 15:08:40 +02:00

💻 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

  1. Create a new directory for the host
  2. Add a hardware-configuration.nix generated with nixos-generate-config
  3. Add a default.nix that imports the desired configurations
  4. Create host-specific module declarations in the modules/ subdirectory to customize the global modules as needed
  5. Reference the new host in hosts/default.nix