Adopt Home Manager; manage starship, nix.conf, and opencode config
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user