create home/macos/home.nix
This commit is contained in:
@@ -52,6 +52,12 @@
|
||||
];
|
||||
};
|
||||
|
||||
homeManagerModules.macos = { ... }: {
|
||||
imports = [
|
||||
./home/macos/home.nix
|
||||
];
|
||||
};
|
||||
|
||||
homeManagerModules.develop = { ... }: {
|
||||
imports = [
|
||||
./home/develop/emacs.nix
|
||||
|
||||
26
home/macos/home.nix
Normal file
26
home/macos/home.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ 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;
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableScDaemon = false;
|
||||
enableSshSupport = false;
|
||||
pinentry = {
|
||||
package = pkgs.pinentry_mac;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user