flocon/hosts
Anthony Rodriguez 61537d4722
hosts/anastacia: add VPS host, searx and forgejo
commit b761f7218b
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Oct 23 18:03:43 2024 +0200

    system/services/searx: setup default search settings

commit c58816d17a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Oct 23 17:38:06 2024 +0200

    browsers/firefox: switch to my own searx

commit 006daa6ebc
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Oct 23 17:35:17 2024 +0200

    system/services/forgejo: enable on ipv4

commit 6c75a3644f
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Oct 23 17:35:05 2024 +0200

    system/services: add searx

commit d472424a4e
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Oct 23 13:22:36 2024 +0200

    system/services: add forgejo

commit 43e754db72
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Oct 23 11:25:01 2024 +0200

    hosts/anastacia: init with generated configuration
2024-10-23 18:04:37 +02:00
..
anastacia hosts/anastacia: add VPS host, searx and forgejo 2024-10-23 18:04:37 +02:00
solaire hosts: move local modules to their own directory inside specific host 2024-10-22 15:01:05 +02:00
vamos hosts: move local modules to their own directory inside specific host 2024-10-22 15:01:05 +02:00
default.nix hosts/anastacia: add VPS host, searx and forgejo 2024-10-23 18:04:37 +02: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