danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.11k stars 141 forks source link

emacs: add support for doom variant #97

Open rockofox opened 1 year ago

rockofox commented 1 year ago

It doesn't work yet, as it's a different package and has slightly different options, see https://github.com/nix-community/nix-doom-emacs/blob/2b34bf438c9e748c34162e0a7c038c5b67688c11/modules/home-manager.nix

SomeGuyNamedMay commented 1 year ago

i believe this project is only planing on supporting home-manager and nixpkgs, it the reason i maintain a personal fork of hyprland, once you actually set up a fork though you shouldnt have to change much

danth commented 1 year ago

Once we have a reliable solution to #89, it will be easier to support extras like Doom and Hyprland, as they can just be disabled when the module isn't installed. That might take a while however, as the cause seems to be an issue with the module system itself.

SomeGuyNamedMay commented 1 year ago

@rockofox this should be doable now

Pacman99 commented 3 weeks ago

This support could also be added in the nix-doom-emacs flake similar to how the niri-flake checks if stylix is added and sets styling options for niri.

For anyone trying to add stylix support to doom, this commit shows how I did it in my nixos repo: https://gitlab.com/coffeetables/lower/-/commit/4918c0ff4c4e7580509511699a556f59c317f9ad. I'm using nix-doom-emacs-unstraightened, but the process should be the same as nix-doom-emacs.