This commit is contained in:
Charles Sirois 2025-04-11 11:55:19 -04:00
parent 0afd1fe82d
commit 8108ea8197

View file

@ -1,7 +1,12 @@
{pkgs, inputs, system, config, ...}:
let
{
pkgs,
inputs,
system,
config,
...
}: let
my-emacs = pkgs.emacsNativeComp;
in{
in {
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
@ -14,6 +19,8 @@ in{
nix-output-monitor
# work tool
doppler
docker
git
gnupg
(pass.withExtensions (exts: [exts.pass-otp]))
@ -66,10 +73,10 @@ in{
};
services.skhd.enable = true;
services.emacs = {
services.emacs = {
enable = true;
package = my-emacs;
};
};
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
@ -94,7 +101,7 @@ services.emacs = {
"/usr/bin/hidutil"
"property"
"--set"
''{
'' {
"UserKeyMapping":[
{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x7000000E7}
]