Refactor packages module

This commit is contained in:
Kiana Sheibani 2024-01-13 14:13:05 -05:00
parent e8c12db38f
commit 6876618243

View file

@ -1,11 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let {
emacs29 = pkgs.emacs29.override {
withPgtk = true;
withWebP = true;
withSQLite3 = true;
};
in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
ffmpeg ffmpeg
openssl openssl
@ -34,7 +28,11 @@ in {
programs.sway.extraPackages = []; programs.sway.extraPackages = [];
services.emacs.enable = true; services.emacs.enable = true;
services.emacs.package = emacs29; services.emacs.package = pkgs.emacs29.override {
withPgtk = true;
withWebP = true;
withSQLite3 = true;
};
programs.direnv.enable = true; programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true; programs.direnv.nix-direnv.enable = true;