41 lines
1.0 KiB
Nix
41 lines
1.0 KiB
Nix
{ config, lib, pkgs, globalInputs, system, ... }:
|
|
|
|
let
|
|
customPkgs = pkgs.callPackage ../packages {};
|
|
in
|
|
{
|
|
# Provide arguments to role modules
|
|
_module.args = { inherit customPkgs; };
|
|
# Home Manager configuration for Darwin work laptop
|
|
# Corporate-friendly setup with essential development tools
|
|
|
|
home.username = lib.mkForce "johno";
|
|
home.homeDirectory = lib.mkForce "/Users/johno";
|
|
home.stateVersion = "24.05";
|
|
|
|
# Override Darwin-incompatible settings from base role
|
|
programs.rbw.settings.pinentry = lib.mkForce pkgs.pinentry_mac;
|
|
|
|
# Disable direct control over bash and zsh
|
|
programs.bash.enable = lib.mkForce false;
|
|
programs.zsh.enable = lib.mkForce false;
|
|
|
|
# Keep SSH and Git disabled to avoid conflicts with work environment
|
|
programs.ssh.enable = lib.mkForce false;
|
|
programs.git.enable = lib.mkForce false;
|
|
programs.rbw.enable = lib.mkForce false;
|
|
|
|
home.shell.enableShellIntegration = true;
|
|
|
|
home.roles = {
|
|
base.enable = true;
|
|
};
|
|
|
|
imports = [
|
|
./roles
|
|
./modules/emacs
|
|
./modules/kubectl
|
|
./modules/tmux
|
|
];
|
|
}
|