Big omen laptop migration

This commit is contained in:
Alexander Derevianko
2025-08-01 21:25:58 +02:00
parent 9bd163a32c
commit 2ed1f0163c
40 changed files with 3012 additions and 8 deletions
+1
View File
@@ -3,5 +3,6 @@
{
imports = [
./nix-vscode-server
./emacs
];
}
+79
View File
@@ -0,0 +1,79 @@
{ inputs, config, lib, pkgs, username, ... }:
with lib;
let
cfg = config.dov.development.emacs;
in {
options.dov.development.emacs = { enable = mkEnableOption "emacs config"; };
config = mkIf cfg.enable {
nixpkgs.overlays = [
inputs.emacs-overlay.overlay
];
users.users."${username}" = {
packages = with pkgs; [
## Emacs itself
binutils # native-comp needs 'as', provided by this
# 28.2 + native-comp
((emacsPackagesFor emacs-unstable).emacsWithPackages (epkgs: [
epkgs.vterm
epkgs.treesit-grammars.with-all-grammars
epkgs.mu4e
epkgs.org-mime
]))
## Doom dependencies
git
(ripgrep.override {withPCRE2 = true;})
gnutls # for TLS connectivity
## Optional dependencies
fd # faster projectile indexing
imagemagick # for image-dired
pinentry-emacs # in-emacs gnupg prompts
zstd # for undo-fu-session/undo-tree compression
## Module dependencies
# :checkers spell
(aspellWithDicts (ds: with ds; [ en en-computers en-science ]))
# :tools editorconfig
editorconfig-core-c # per-project style config
# :tools lookup & :lang org +roam
sqlite
# :lang latex & :lang org (latex previews)
texlive.combined.scheme-medium
# :lang nix
nixfmt-classic
#nixd
nil
# :lang lisp
sbcl
# :lang sh
shellcheck
# :lang typescript
#javascript-typescript-langserver # deprecated
deno
# :lang go
# go
# gopls
# gotests
# gomodifytags
# gore
# gotools
# :lang ruby
ruby
rbenv
rubocop
isync # mu4e related
];
};
};
}