I’m quite new to NixOS and am currently running it inside a VM. I’ve been using Arch as my daily-driver for almost a year now.

How do i write a NixOS derivation to configure Doom Emacs for me?

I already have my init, config and packages.el files in my dotfiles private repo on Gitlab. Assuming I’ve already cloned these repos to my home directory, is it possible to create a Nix derivation for this purpose??

EDIT: I’ve setup my custom Emacs build, and the rest of the script automatically configures doom for me.

  • ZeStig@programming.devOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I have my Emacs configs, managed by a dotfiles repo. I wanted to know how to set up Doom Emacs

    • KindaABigDyl@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Sorry I didn’t know there was a difference. I thought Doom Emacs was a version of Emacs, not something that worked alongside the original. Like I said I’m a neovim user