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
+25
View File
@@ -0,0 +1,25 @@
{ config, pkgs, ... }:
{
home.username = "user";
home.homeDirectory = "/home/user";
home.stateVersion = "26.05";
home.packages = [
pkgs.opencode
];
home.file = {
".config/starship.toml".source = ../config/starship.toml;
".config/nix/nix.conf".source = ../config/nix.conf;
".config/opencode/opencode.jsonc".source = ../config/opencode.jsonc;
};
home.sessionVariables = {
NIX_SHELL_PRESERVE_PROMPT = "true";
};
programs.bash.enable = true;
programs.starship.enable = true;
programs.home-manager.enable = true;
}