home/breakerbox: add more program breakers

This commit is contained in:
2025-06-04 12:10:34 +02:00
parent 0026cfb484
commit 0bdd97a80b
13 changed files with 40 additions and 36 deletions

View File

@@ -1,4 +1,6 @@
{ pkgs, ... }: let
{ config, lib, pkgs, ... }:
let
cfg = config.programs.emacs;
configEl = pkgs.stdenv.mkDerivation {
name = "config.el";
@@ -14,11 +16,11 @@
'';
};
in {
in
lib.mkIf cfg.enable {
xdg.configFile."emacs/init.el".source = configEl.outPath;
programs.emacs = {
enable = true;
extraPackages = epkgs: with epkgs; [
# # package
use-package