this post was submitted on 02 Jul 2023
2 points (100.0% liked)

Nix / NixOS

1465 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

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.

top 1 comments
sorted by: hot top controversial new old
[–] priapus@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

Nix-doom-emacs is a community flake that has a home-manager module you can add to your config.