This commit is contained in:
Aria Nolan 2024-04-23 19:41:21 -04:00
parent 3196a9713e
commit 7d342f94ee
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1 @@
(setq package-enable-at-startup nil)

View file

@ -0,0 +1,37 @@
(setq-default fill-column 80)
(setq-default tab-width 2)
(setq ring-bell-function 'ignore)
;; Display line numbers in every buffer
(global-display-line-numbers-mode 1)
(setq display-line-numbers-type 'relative)
(blink-cursor-mode 0)
(global-hl-line-mode 1)
;; Turn off some unneeded UI elements
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(add-to-list 'default-frame-alist
'(font . "Mononoki Nerd Font-14"))
;; Initialize straight package manager
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
(or (bound-and-true-p straight-base-dir)
user-emacs-directory)))
(bootstrap-version 7))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'material-theme)
(load-theme 'material t)

View file

@ -24,6 +24,7 @@
];
packages = with pkgs; [
fd
emacs
vimpc
ashuffle
ardour
@ -128,4 +129,10 @@
name = "Papirus";
};
};
xdg.configFile."./" = {
source = ./.config;
recursive = true;
};
}