nixos-config/modules/nixos/base/emacs/default.nix
Charlotte Van Petegem 03d355aa35
Some checks failed
Cachix / build (elendel) (push) Failing after 2m38s
Cachix / build (kholinar) (push) Failing after 2m52s
Cachix / build (marabethia) (push) Successful in 2m13s
Use unstable emacs instead of git
2025-03-04 11:23:07 +01:00

19 lines
421 B
Nix

{ config, lib, pkgs, ... }:
let
username = config.chvp.username;
in
{
chvp.base.emacs = {
basePackage = pkgs.emacs-unstable-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;
};
};
}