about summary refs log tree commit diff
path: root/hosts/home-darwin.nix
blob: ce924d5b33f57588ea71e51097d85a2df5948005 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ pkgs, stateVersion, lib, dotfiles, user, ... }:
{
  imports = [
  ];

  home = {
    username = "${user}";
    homeDirectory = "/Users/${user}";

    packages = with pkgs; [
      git-crypt
    ];
  };

  services = { };

  programs = {
    emacs = {
      enable = true;
      extraPackages = epkgs: with epkgs; [
        use-package

        direnv

        evil
        evil-collection

        doom-modeline
        dashboard

        projectile
        lsp-ui

        lsp-bridge
        rust-mode
        rustic
        company
        flycheck
        lsp-haskell

        nix-mode
        haskell-mode
        typescript-mode
        jq-mode

        doom-themes

        dired-sidebar
      ];
      extraConfig = builtins.readFile "${dotfiles}/.emacs";
    };
  };

  home.stateVersion = stateVersion;
}