1
0

create home/macos/home.nix

This commit is contained in:
2025-09-21 19:04:45 -07:00
parent b699896f68
commit 50dc2180ba
2 changed files with 33 additions and 0 deletions

View File

@@ -52,6 +52,12 @@
]; ];
}; };
homeManagerModules.macos = { ... }: {
imports = [
./home/macos/home.nix
];
};
homeManagerModules.develop = { ... }: { homeManagerModules.develop = { ... }: {
imports = [ imports = [
./home/develop/emacs.nix ./home/develop/emacs.nix

27
home/macos/home.nix Normal file
View File

@@ -0,0 +1,27 @@
{ lib, pkgs, ... }:
{
# Set default terminal environment variable
home.sessionVariables = {
TERMINAL = lib.mkForce "open -a Terminal.app .";
};
# Add NPM installed programs to PATH.
home.sessionPath = [
"/Users/tbingmann/.npm-global/bin"
];
# GnuPG configuration
programs.gpg = {
enable = true;
};
# GnuPG Agent configuration
services.gpg-agent = {
enable = true;
enableScDaemon = false;
enableSshSupport = false;
pinentry = {
package = pkgs.pinentry_mac;
};
};
}