X575KR6QP76HLPGLLS6XINQGQEAQD76SNOKPJMTGKGR3JJW6A5EQC
N7DHDONTAB6UEU4PHQR7BNSUQFAA4JBIVSTKDQ7V7OF3CLOEWXOQC
6FD7JWA6BF2AMGISG2UEKFWDBFQMCV2TJ7LEPXW4T73O3SSJHESAC
4A5J4ZQ3HM2ZK6OO7N3RZ2WX3YHNGA3X5WJIB4UQJPQGUG4O3AYQC
3RG3K64UNBVMFYBBHNYCI7Y6GI7NZAHCCT76GMBBGK7PO4744BLAC
6DZO6E3ALZ477IYSCGVKASDYM54CZEDON55NR2UTUGOCZR3BMTAAC
QYSR4PDNVTQOISVLQMO5M7MYBEG37SV6Y7JGM6QPC3CA2BJAYPYQC
QRSG7RJSX5R255Y2HHTLYBXMBR374QS3PV2UJDWK2ZPMG7V66SSAC
WEC7RJUMNJX6A46INFCR5Q3GM5O3BCAYAF4UUISJDYXWIL5II36AC
M47OO2CYU6I4IGSY76VPSERKWG7AC6NGU343YAMGGTFPGYMWCXHAC
BAFCPHJKXP35F3DBWV5YHJWYAMYVYV2QXCU7VOTS67PINQTJDBOQC
TAHNZ4UZMQJ5SM5GGVXCSZNX2ZFA5MBPBEDZLBR3NPT6ECC5OEWQC
LE3HUCW5R67DWCFJYOID6ELRY6M5TMATGC3IZO2Q6RBE3XFS6ZKAC
O64A6IJJGMWJYUDR6VUFGYFPWWPN222BEMMLFCMLKDEFO5OVRE4QC
in pkgs.callPackage
# NOTE: won't need to overrideAttrs on emacsMacport once the below PR is released
# https://github.com/NixOS/nixpkgs/pull/133260/
pkg-emacs = if isLinux then pkgs.emacs else
pkgs.emacsMacport.overrideAttrs (old: {
passthru = old.passthru or { };
});
in
pkgs.callPackage
# NOTE: won't need to overrideAttrs on emacsMacport once the below PR is released
# https://github.com/NixOS/nixpkgs/pull/133260/
emacsPackages = pkgs.emacsPackagesFor (if isLinux then pkgs.emacs else pkgs.emacsMacport.overrideAttrs(old: {
passthru = old.passthru or {};
}));
emacsPackages = pkgs.emacsPackagesFor pkg-emacs;
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
;; are the three important ones:
;;
;; + `doom-font'
;; + `doom-variable-pitch-font'
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
;; presentations or streaming.
;;
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
;; font string. You generally only need these two:
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/org/")
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
;; Here are some additional functions/macros that could help you configure Doom:
;;
;; - `load!' for loading external *.el files relative to this one
;; - `use-package!' for configuring packages
;; - `after!' for running code after a package has loaded
;; - `add-load-path!' for adding directories to the `load-path', relative to
;; this file. Emacs searches the `load-path' when you load packages with
;; `require' or `use-package'.
;; - `map!' for binding new keys
;;
;; To get information about any of these functions/macros, move the cursor over
;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k').
;; This will open documentation for it, including demos of how they are used.
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
(after! treemacs (setq +treemacs-git-mode 'deferred))
in
{
config.home.packages = with pkgs; [
(aspellWithDicts (dicts: with dicts; [ en en-computers en-science ]))
pkgs-pythonMode = with pkgs.python39Packages; [
black
isort
pkgs.poetry
pyflakes
pkgs.nodePackages.pyright
];
pkgs-shellMode = with pkgs; [
shellcheck
];