configurations: update
This commit is contained in:
parent
a6c581ee04
commit
c0cd2a0f19
|
@ -2,11 +2,14 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
home.username = "materus";
|
home.username = "materus";
|
||||||
home.packages = [];
|
home.packages = [ ];
|
||||||
|
|
||||||
programs.git.signing.key = lib.mkDefault "28D140BCA60B4FD1";
|
programs.git.signing.key = lib.mkDefault "28D140BCA60B4FD1";
|
||||||
programs.git.userEmail = lib.mkDefault "materus@podkos.pl";
|
programs.git.userEmail = lib.mkDefault "materus@podkos.pl";
|
||||||
programs.git.userName = lib.mkDefault "materus";
|
programs.git.userName = lib.mkDefault "materus";
|
||||||
|
|
||||||
|
home.stateVersion = lib.mkDefault "23.05";
|
||||||
|
home.homeDirectory = lib.mkDefault "/home/materus";
|
||||||
|
|
||||||
programs.home-manager.enable = lib.mkDefault true;
|
programs.home-manager.enable = lib.mkDefault true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
llvmpkgs.libllvm
|
llvmpkgs.libllvm
|
||||||
llvmpkgs.libllvm.dev
|
llvmpkgs.libllvm.dev
|
||||||
|
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
gdb
|
gdb
|
||||||
|
nil
|
||||||
cmake
|
cmake
|
||||||
gnumake
|
gnumake
|
||||||
ninja
|
ninja
|
||||||
|
|
|
@ -15,28 +15,30 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
package = with pkgs; lib.mkDefault (if pkgs ? emacs-pgtk then emacs-pgtk else emacs29-gtk);
|
package = with pkgs; lib.mkDefault (if pkgs ? emacs-pgtk then emacs-pgtk else emacs29-gtk);
|
||||||
extraPackages = epkgs: with epkgs; [
|
extraPackages = epkgs: with epkgs; [
|
||||||
evil
|
elcord
|
||||||
evil-numbers
|
persp-mode
|
||||||
evil-mc
|
|
||||||
evil-tex
|
|
||||||
evil-nerd-commenter
|
|
||||||
|
|
||||||
dashboard
|
dashboard
|
||||||
magit
|
magit
|
||||||
helm
|
helm
|
||||||
avy
|
avy
|
||||||
corfu
|
corfu
|
||||||
ivy
|
|
||||||
vterm
|
vterm
|
||||||
centaur-tabs
|
centaur-tabs
|
||||||
|
projectile
|
||||||
|
|
||||||
treemacs
|
treemacs
|
||||||
treemacs-evil
|
|
||||||
treemacs-nerd-icons
|
treemacs-nerd-icons
|
||||||
|
treemacs-perspective
|
||||||
|
treemacs-icons-dired
|
||||||
|
treemacs-magit
|
||||||
|
treemacs-projectile
|
||||||
tree-edit
|
tree-edit
|
||||||
doom-modeline
|
vertico
|
||||||
nerd-icons
|
nerd-icons
|
||||||
nerd-icons-completion
|
nerd-icons-completion
|
||||||
load-relative
|
perspective
|
||||||
|
minions
|
||||||
|
telephone-line
|
||||||
|
|
||||||
lsp-mode
|
lsp-mode
|
||||||
d-mode
|
d-mode
|
||||||
|
@ -44,7 +46,9 @@ in
|
||||||
org
|
org
|
||||||
markdown-mode
|
markdown-mode
|
||||||
json-mode
|
json-mode
|
||||||
|
nix-mode
|
||||||
|
|
||||||
|
minimap
|
||||||
moe-theme
|
moe-theme
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
;Graphical
|
;Graphical
|
||||||
;(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
;
|
(set-frame-font "FiraCode Nerd Font" nil t)
|
||||||
;)
|
(tool-bar-mode -1)
|
||||||
(tool-bar-mode -1)
|
)
|
||||||
|
|
||||||
(load-theme 'moe-dark)
|
(load-theme 'moe-dark)
|
||||||
|
|
||||||
|
|
||||||
(setq-default cursor-type '(bar . 1))
|
(setq-default cursor-type '(bar . 1))
|
||||||
(set-frame-font "FiraCode Nerd Font" nil t)
|
|
||||||
(pixel-scroll-precision-mode 1)
|
(pixel-scroll-precision-mode 1)
|
||||||
(setq pixel-scroll-precision-large-scroll-height 10.0)
|
(setq pixel-scroll-precision-large-scroll-height 10.0)
|
||||||
(setq mouse-wheel-follow-mouse 't)
|
(setq mouse-wheel-follow-mouse 't)
|
||||||
|
(setq scroll-step 1)
|
||||||
|
(setq mouse-drag-and-drop-region t)
|
||||||
|
(telephone-line-mode 1)
|
||||||
|
(minions-mode 1)
|
||||||
|
|
||||||
;Hide startup screen if started with file
|
;Hide startup screen if started with file
|
||||||
(defun startup-screen-advice (orig-fun &rest args)
|
(defun startup-screen-advice (orig-fun &rest args)
|
||||||
|
@ -26,7 +29,7 @@
|
||||||
;Enable dashboard
|
;Enable dashboard
|
||||||
(dashboard-setup-startup-hook)
|
(dashboard-setup-startup-hook)
|
||||||
(when (daemonp)
|
(when (daemonp)
|
||||||
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) ; Show dashboard when emacs is running as daemon
|
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) ; Show dashboard when emacs is running as daemon
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue