From ae3fa667bda75f11881c9209dc67226f98bcfd95 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Thu, 17 Sep 2026 11:05:45 +0200 Subject: Add cross-platform Nix flake bootstrap Adds a flake providing shared modules for NixOS and standalone home-manager, a copyable NixOS host template, and the OpenSpec tooling/change scaffolding used to plan this work. --- lib/mkHome.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/mkHome.nix (limited to 'lib/mkHome.nix') diff --git a/lib/mkHome.nix b/lib/mkHome.nix new file mode 100644 index 0000000..db85b86 --- /dev/null +++ b/lib/mkHome.nix @@ -0,0 +1,6 @@ +{ inputs }: +{ username, system, extraModules ? [ ] }: +inputs.home-manager.lib.homeManagerConfiguration { + pkgs = inputs.nixpkgs.legacyPackages.${system}; + modules = [ ../users/${username}.nix ] ++ extraModules; +} -- cgit v1.3