configurations: update

This commit is contained in:
Mateusz Słodkowicz 2023-11-08 10:46:45 +01:00
parent a6c581ee04
commit c0cd2a0f19
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
4 changed files with 32 additions and 22 deletions

View File

@ -8,5 +8,8 @@
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;
} }

View File

@ -25,7 +25,7 @@
gcc gcc
gdb gdb
nil
cmake cmake
gnumake gnumake
ninja ninja

View File

@ -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 = ''

View File

@ -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)