c79436d340
yolo's .claude/settings.json was a full fork of the common file, not the narrow override its comment claimed: sandbox, defaultMode, voiceEnabled, $schema and feedbackSurveyState were absent, and five more keys had diverged. It now holds only yolo's overrides and merges over common via recursiveUpdate. sandbox.enabled stays pinned false — inheriting it would newly sandbox every Bash call on a box built for unattended agents. mutableFiles maps a source back to a repo path for the "bring changes upstream" hint, which only works inside the flake tree. Generated sources would print a /nix/store path to copy onto, so add upstreamPath. rev and rev-deploy set Restart=always with RestartSec=2, which burns systemd's default 5-starts-per-10s budget and parks the unit in `failed` until a manual reset-failed. StartLimitIntervalSec=0 lifts the cap. programs.nh.flake and home.mutableFilesRepoPath become mkDefault so yolo overrides them plainly instead of with mkForce in three places. Also clears the outstanding nixfmt and statix findings. The yolo system derivation hash is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
47 lines
846 B
Nix
47 lines
846 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
../features/mutable-file.nix
|
|
./zsh.nix
|
|
./nix.nix
|
|
./neovim
|
|
./editors.nix
|
|
./rust.nix
|
|
./elixir.nix
|
|
./nodejs.nix
|
|
./git
|
|
./solidity.nix
|
|
./dev.nix
|
|
./cpp.nix
|
|
./claude
|
|
./opencode
|
|
./yazi
|
|
./ssh.nix
|
|
./tmux.nix
|
|
];
|
|
|
|
programs = {
|
|
home-manager.enable = true;
|
|
};
|
|
|
|
home = {
|
|
# mkDefault: hosts whose clone lives elsewhere (yolo, under ~/tea) override
|
|
# this with a plain assignment.
|
|
mutableFilesRepoPath = lib.mkDefault "${config.home.homeDirectory}/projects/nixos-config";
|
|
|
|
packages = with pkgs; [
|
|
impala
|
|
];
|
|
|
|
username = lib.mkDefault "naps62";
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
stateVersion = lib.mkDefault "24.05";
|
|
sessionPath = [ "$HOME/.local/bin" ];
|
|
};
|
|
}
|