Adopt Home Manager; manage starship, nix.conf, and opencode config

This commit is contained in:
2026-10-08 22:17:14 +00:00
commit 40abf86655
12 changed files with 465 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{
description = "nix config for nix-clanker-vm";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
tinfoil-proxy.url = "path:./tinfoil-proxy";
};
outputs = { self, nixpkgs, home-manager, tinfoil-proxy }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
username = "user";
in {
packages.${system} = {
default = tinfoil-proxy.packages.${system}.default;
tinfoil-proxy = tinfoil-proxy.packages.${system}.default;
};
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home ];
};
};
}