Skip to content

Commit

Permalink
use custom nixpkgs for emacs, resulting in upgrade to 29.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsawyer77 committed Jul 29, 2024
1 parent d48759b commit 6d1d8f2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions home/KD21QWDKW7.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{ config, lib, pkgs, username, fontConfig, mkalias, ... }:
{ config
, lib
, pkgs
, username
# , darwin-emacs
# , emacs-overlay
, mkalias
#, poetry2nix
, nixpkgs-emacs
, ...
}:

let
homeDirectory = "/Users/" + username;
Expand Down Expand Up @@ -107,7 +117,9 @@ in
(import ./doom {
inherit pkgs username envVars;
doomDir = doomDirectory;
emacsPackage = pkgs.emacs29-macport;
# use default emacs package for now
# emacsPackage = pkgs.emacs29-macport;
emacsPackage = nixpkgs-emacs.outputs.legacyPackages.aarch64-darwin.emacs29-macport;
})
(import ./git {
inherit config pkgs lib;
Expand Down
6 changes: 3 additions & 3 deletions home/doom/emacs/+ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
'(menu-bar-lines . 0)
)))

;; (when (featurep :system 'macos)
;; (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
;; (add-to-list 'default-frame-alist '(ns-appearance . dark)))
(when (featurep :system 'macos)
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
(add-to-list 'default-frame-alist '(ns-appearance . dark)))

;;; XXX: titlebar shenanigans
;; (defun ns-auto-titlebar-set-frame (frame &rest _)
Expand Down

0 comments on commit 6d1d8f2

Please sign in to comment.