mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Use unstable for all the things
This commit is contained in:
@@ -112,7 +112,6 @@
|
||||
initExtra = ''
|
||||
export PATH=$PATH:~/.cargo/bin
|
||||
export PATH=$PATH:~/.local/bin
|
||||
export PATH=$PATH:~/.npm-packages/bin
|
||||
export PATH=$PATH:~/go/bin
|
||||
export PAGER=less
|
||||
|
||||
@@ -366,6 +365,7 @@
|
||||
xclip
|
||||
]);
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
home.file.".emacs.d/init.el".source = ./init.el;
|
||||
|
18
home/init.el
18
home/init.el
@@ -1,19 +1,30 @@
|
||||
;; Enable Mouse
|
||||
(xterm-mouse-mode 1)
|
||||
(xterm-mouse-mode)
|
||||
|
||||
;; Enable xclip
|
||||
(require 'xclip)
|
||||
(define-globalized-minor-mode global-xclip-mode
|
||||
xclip-mode xclip-mode)
|
||||
|
||||
(global-xclip-mode 1)
|
||||
|
||||
;; Set up fonts early.
|
||||
(set-face-attribute 'default
|
||||
nil
|
||||
:height 80
|
||||
:family "Fira Code Mono")
|
||||
(set-face-attribute 'variable-pitch
|
||||
nil
|
||||
:family "Fira CodeSans")
|
||||
|
||||
;; Fix clipboard
|
||||
(setq x-select-enable-clipboard t)
|
||||
(setq select-enable-clipboard t)
|
||||
|
||||
;; Enable Line Numbers
|
||||
(global-display-line-numbers-mode 1)
|
||||
|
||||
;; Disable lock files
|
||||
(setq create-lockfiles nil)
|
||||
|
||||
;; Enable Evil
|
||||
(require 'evil)
|
||||
(evil-mode 1)
|
||||
@@ -73,6 +84,7 @@
|
||||
|
||||
;; Enable Flycheck
|
||||
(global-flycheck-mode)
|
||||
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
|
||||
|
||||
;; An easier way to toggle comments
|
||||
(evil-commentary-mode)
|
||||
|
Reference in New Issue
Block a user