feat: split hm user base by host type and remove nvim secret
This commit is contained in:
@@ -23,17 +23,9 @@
|
||||
})
|
||||
];
|
||||
|
||||
# Configure sops-nix secret
|
||||
sops.secrets.gemini-api-key-neovim = { };
|
||||
|
||||
wrappers.neovim = {
|
||||
enable = true;
|
||||
|
||||
# Inject the API key into the Neovim environment only
|
||||
env = {
|
||||
GEMINI_API_KEY = "$(cat ${config.sops.secrets.gemini-api-key-neovim.path})";
|
||||
};
|
||||
|
||||
# 1. Point to your existing Lua config directory
|
||||
settings.config_directory = ./lua-config;
|
||||
|
||||
|
||||
@@ -3,17 +3,27 @@ let
|
||||
homeModules = config.flake.modules.homeManager;
|
||||
in
|
||||
{
|
||||
flake.modules.homeManager."user-base" = {
|
||||
flake.modules.homeManager."common-user-base" = {
|
||||
imports = [
|
||||
homeModules.terminal
|
||||
homeModules.shell
|
||||
homeModules.neovim
|
||||
homeModules."ssh-client"
|
||||
homeModules."sops-admin"
|
||||
homeModules.git
|
||||
homeModules."dev-tools"
|
||||
homeModules.podman
|
||||
homeModules.gemini
|
||||
];
|
||||
};
|
||||
|
||||
flake.modules.homeManager."server-user-base" = {
|
||||
imports = [ homeModules."common-user-base" ];
|
||||
};
|
||||
|
||||
flake.modules.homeManager."workstation-user-base" = {
|
||||
imports = [
|
||||
homeModules."common-user-base"
|
||||
homeModules."ssh-client"
|
||||
homeModules."sops-admin"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user