900 Commits

Author SHA1 Message Date
Giulio De Pasquale
aabbff3ad4 chore(backup): add exclusion for /var/lib/ollama in backup configuration 2025-06-05 16:54:35 +01:00
Giulio De Pasquale
241973d56a chore(flake): update nixpkgs, nixos-unstable, home-manager versions and add cudaSupport
- Updated nixpkgs to commit 10d7f8d34e5eb9c0f9a0485186c1ca691d2c5922
- Updated nixos-unstable to commit c2a03962b8e24e669fb37b7df10e7c79531ff1a4
- Upgraded home-manager to release-25.05
- Added cudaSupport = true to Linux x64 CUDA package configuration
2025-06-05 16:54:12 +01:00
Giulio De Pasquale
0da5018e8c chore(host.nix): update system.stateVersion to "25.05"
- Bumped NixOS system state version from 24.11 to 25.05
2025-06-05 16:53:51 +01:00
Giulio De Pasquale
184f039e40 refactor(dns/network): replace dnsResolvableName with hostname and restructure DNS record generation
- Replaced `dnsResolvableName` with `hostname` in device configuration options
- Updated DNS record generation logic to use `hostname` instead of domain-based naming
- Removed deprecated `dnsResolvableName` option from network module
- Restructured DNS record templates to use consistent formatting
- Simplified code structure by removing redundant whitespace and reorganizing attribute definitions
- Updated `generateDeviceHostRecords` to use new naming convention and improved template syntax
2025-06-05 16:53:35 +01:00
Giulio De Pasquale
0e513e1c69 chore(home): update stateVersion to "25.05"
- Bumped Home Manager state version from 24.11 to 25.05
2025-06-05 16:52:48 +01:00
Giulio De Pasquale
6fafab2e5c chore(update_cached_hashes): update RELEASE version to 25.05
- Changed RELEASE variable from 24.11 to 25.05 in the script
- This affects cached hash updates for the new release version
- No functional changes, only build configuration update
2025-06-05 16:52:28 +01:00
Giulio De Pasquale (aider)
2af3952cf5 fix: Join extra hosts list into single string 2025-06-05 12:58:08 +01:00
Giulio De Pasquale (aider)
c2d96e936e fix: Correctly generate extraHosts for vhosts 2025-06-05 12:56:55 +01:00
Giulio De Pasquale (aider)
7217af2233 feat: Add local vhost resolution via extraHosts 2025-06-05 12:50:30 +01:00
Giulio De Pasquale (aider)
44af2887a5 feat: Allow network devices to define DNS resolvable names 2025-06-05 12:42:14 +01:00
Giulio De Pasquale (aider)
9e8e7169d3 refactor: Use mkMerge to combine LLM module configs 2025-06-04 15:44:29 +01:00
Giulio De Pasquale
317803eb5a refactor: Restructure LLM module options and vhost creation 2025-06-04 15:44:27 +01:00
Giulio De Pasquale
46cb8d1c7e remove old llm file 2025-06-04 15:41:49 +01:00
Giulio De Pasquale
60c447024d fix(gitea): disabel registartion 2025-06-04 13:19:59 +01:00
Giulio De Pasquale (aider)
2afe7dc76c refactor: Use freeform type for headscale settings option 2025-06-04 12:58:30 +01:00
Giulio De Pasquale
c3a2c54b13 fix(acme): switch to cloudflare 2025-06-04 12:44:39 +01:00
Giulio De Pasquale
388a11a76e fix: update hosts 2025-05-16 12:10:08 +01:00
Giulio De Pasquale
d2b361e82b bump: bump 2025-05-06 13:00:56 +01:00
Giulio De Pasquale
7053b64156 refactor(network-config): update configuration references to use pepe.core.network.interfaces
- Refactored config references from `config.architect.networks` to `config.pepe.core.network.interfaces` across multiple files
- Updated `fail2ban.nix`, `firewall.nix`, `tailscale.nix`, and `utilities.nix` to align with new configuration structure
- Centralized network interface configuration under `pepe.core` for better maintainability
- Maintained existing functionality while modernizing configuration hierarchy
2025-05-06 12:57:02 +01:00
Giulio De Pasquale
9277af4088 refactor(nix): move headscale configuration into main file and remove import
- Removed `./headscale.nix` from `imports` section
- Added `headscale` configuration under `pepe.core` with:
  - Domain: `vipienne.giugl.io`
  - Network settings with IPv4 prefixes and DNS configuration
  - Debug logging enabled
- Removed `docker` configuration block from `pepe.core` (separate refactor)
2025-05-06 12:56:25 +01:00
Giulio De Pasquale
e8afefea50 refactor(headscale): restructure headscale module and improve configuration
- Migrated headscale configuration to dedicated module file
- Added host configuration option for Headscale service
- Restructured settings configuration with nested options
- Improved type definitions for configuration parameters
- Added security headers in virtual host configuration
- Fixed formatting in vhost configuration
- Corrected typo in useACMEHost configuration
2025-05-06 12:55:27 +01:00
Giulio De Pasquale (aider)
4fa79d642f <think>
Okay, let's see. The user wants to port the architect/headscale.nix to a module. The existing code is in the architect directory, and they want to move it to a module structure.

First, I need to understand what the original file does. It seems to be configuring Headscale with specific settings, ports, and vhost configurations. The new module should encapsulate these settings into a reusable module.

Looking at the diffs, the new module is created under modules/services/headscale.nix. The module defines options for enabling the service, package, domain, port, and settings. The config section sets up the service, vhost, and firewall rules.

The commit message needs to be concise. The type is 'refactor' because it's restructuring the code into a module. The description should mention moving the configuration to a module and making it reusable. Keeping it under 72 characters.

So, "refactor: move headscale configuration to a reusable module" seems appropriate. It starts with 'refactor', uses imperative mood, and is within the character limit.
</think>

refactor: move headscale configuration to a reusable module
2025-05-06 11:53:27 +01:00
Giulio De Pasquale (aider)
db884c9e86 feat: port Docker configuration to new modular structure 2025-04-28 15:31:05 +01:00
Giulio De Pasquale (aider)
cbd6725b2a feat: enable redlib and llm services in architect configuration 2025-04-28 09:59:04 +01:00
Giulio De Pasquale (aider)
51517d8914 feat: port redlib and llm services to new modules structure 2025-04-28 09:58:03 +01:00
Giulio De Pasquale
3ba686f159 feat: port home assistant (part 1) 2025-04-26 23:39:39 +01:00
Giulio De Pasquale (aider)
0d8776d8e7 feat: migrate Home Assistant configuration to new module structure in architect host 2025-04-26 23:11:09 +01:00
Giulio De Pasquale
f6b1d1d71c fix: remove duplicate homeassistant.nix import in architect host config 2025-04-26 23:11:07 +01:00
Giulio De Pasquale (aider)
431e7fac05 feat: port homeassistant.nix to modules/services/ structure 2025-04-26 23:10:36 +01:00
Giulio De Pasquale
a0331deac3 delete 2025-04-26 19:43:46 +01:00
Giulio De Pasquale
52a5a7e7d2 fix: other services 2025-04-26 19:43:22 +01:00
Giulio De Pasquale
353f5822bf delete 2025-04-26 19:31:26 +01:00
Giulio De Pasquale
4369735976 stuff 2025-04-26 19:31:05 +01:00
Giulio De Pasquale (aider)
9c71d75363 feat: add DNS endpoint configuration to network and DNS modules 2025-04-26 19:14:49 +01:00
Giulio De Pasquale
3508ebc879 refactor: simplify DNS configuration generation and remove processDomainsFirst option 2025-04-26 19:14:48 +01:00
Giulio De Pasquale (aider)
c1baa0eb65 feat: Add processDomainsFirst option to DNS module for flexible CoreDNS configuration 2025-04-26 19:06:59 +01:00
Giulio De Pasquale
a022b2d0ce MASSIVE 2025-04-26 17:43:50 +01:00
Giulio De Pasquale (aider)
1a54c00cc2 refactor: simplify DNS configuration for vhosts with dynamic interface detection 2025-04-26 17:31:07 +01:00
Giulio De Pasquale
301629243e fix: update AdGuard DNS interface configuration in dns.nix 2025-04-26 17:31:05 +01:00
Giulio De Pasquale (aider)
48b86055a0 refactor: port hosts/architect/dns.nix to new modules/core/dns.nix structure 2025-04-26 17:24:01 +01:00
Giulio De Pasquale (aider)
70c39b782b refactor: migrate architect to use core MinIO service module 2025-04-26 17:18:45 +01:00
Giulio De Pasquale (aider)
9b945b0a84 feat: port MinIO service to new modular services structure 2025-04-26 17:18:09 +01:00
Giulio De Pasquale (aider)
c7e579ec95 fix: update vhost.nix to handle interface names correctly 2025-04-26 17:14:55 +01:00
Giulio De Pasquale (aider)
738b0e9577 fix: modify network interface type handling to resolve Nix type error 2025-04-26 17:14:17 +01:00
Giulio De Pasquale (aider)
a5232f522b refactor: replace network groups with direct interface type access 2025-04-26 17:12:46 +01:00
Giulio De Pasquale (aider)
2c350070a3 feat: add network groups and interface types to network module 2025-04-26 17:11:52 +01:00
Giulio De Pasquale (aider)
b1065f61d9 refactor: use interface CIDR ranges instead of network groups in vhost.nix 2025-04-26 17:11:22 +01:00
Giulio De Pasquale (aider)
89aa2e7f20 refactor: use network groups for allowLAN/VPN in vhost configuration 2025-04-26 17:10:46 +01:00
Giulio De Pasquale
985d325885 refactor: remove unused allowLan option from vhost module 2025-04-26 17:10:45 +01:00
Giulio De Pasquale (aider)
894bc74667 feat: add interfacesByType option to network module for type-based interface access 2025-04-26 17:09:33 +01:00