nixos-config/modules/nixos/base/emacs/default.nix
Charlotte Van Petegem 99a4840578
Some checks failed
Cachix / build (elendel) (push) Failing after 2m47s
Cachix / build (kholinar) (push) Failing after 2m54s
Cachix / build (marabethia) (push) Successful in 1m57s
Use latest emacs pgtk
2025-03-04 10:38:14 +01:00

19 lines
412 B
Nix

{ config, lib, pkgs, ... }:
let
username = config.chvp.username;
in
{
chvp.base.emacs = {
basePackage = pkgs.emacs-pgtk;
extraConfig = [ (builtins.readFile ./linux-init.el) ];
};
home-manager.users.${username} = { ... }: {
services.emacs = {
enable = true;
client.enable = true;
socketActivation.enable = true;
package = config.chvp.base.emacs.package;
};
};
}