Simplify custom.template.nix and add-custom-nix.sh for hub-managed configuration

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/f90e34be-674b-4047-8096-c0db7883de1a

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-05 17:56:59 +00:00
committed by GitHub
parent 4765a18224
commit 3c4495c066
2 changed files with 24 additions and 123 deletions

View File

@@ -37,21 +37,26 @@ FILE=/var/lib/beacons/file_fixes_and_new_services/add-custom-nix/completed
touch /etc/nixos/custom.nix
/run/current-system/sw/bin/cat > /etc/nixos/custom.nix <<- "EOF"
{ config, lib, ... }:
{config, pkgs, lib, ...}:
# Add custom NixOS modules here.
let
personalization = import ./personalization.nix;
in
{
###########################################################
# #
# Sovran_SystemsOS — custom.nix #
# #
# Services, features, and roles are managed by the #
# Sovran Hub. Any changes you make through the Hub #
# will appear in the "Hub Managed" section below. #
# #
# If you want to add your own NixOS modules or #
# configuration, place them here — outside of the #
# Hub Managed section. #
# #
###########################################################
# ─── Add your custom NixOS configuration below ───────────
}
EOF