WIP: home-manager modules and install tooling (in progress, unreviewed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
This commit is contained in:
Claude committed 2026-10-11 12:39:07 +00:00
1 parent 0ce9943d56
commit f3660d3505
30 files changed
+2619

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
# Rebuild this machine from the flake (nh when present, else nixos-rebuild).
# nh and nixos-rebuild are taken from the system PATH on purpose.
{
lib,
writeShellApplication,
coreutils,
git,
}:
writeShellApplication {
name = "switch-system";
runtimeInputs = [
coreutils
git
];
text = builtins.readFile ./switch-system.sh;
meta = {
description = "Rebuild and switch this NixOS machine from its flake (nh os / nixos-rebuild)";
mainProgram = "switch-system";
platforms = lib.platforms.linux;
};
}