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:
committed by
GitHub
parent
4765a18224
commit
3c4495c066
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user