about summary refs log blame commit diff
path: root/hosts/home-darwin.nix
blob: 913261f27266e997027fd60661be569e137ed0b8 (plain) (tree)
1
2
3
4
5
6
7
8
 






               











                                     
                



                    


                            
 
                
 

                         
 

                       
 

                    
 





                     
 



                         
 
                     
 

                       





                                                           
{
  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;
}