home/natto: yearly update
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -10,7 +10,7 @@
 | 
				
			|||||||
    };
 | 
					    };
 | 
				
			||||||
    enableAutosuggestions = true;
 | 
					    enableAutosuggestions = true;
 | 
				
			||||||
    enableCompletion = true;
 | 
					    enableCompletion = true;
 | 
				
			||||||
    enableSyntaxHighlighting = true;
 | 
					    syntaxHighlighting.enable = true;
 | 
				
			||||||
    prezto = {
 | 
					    prezto = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      prompt.theme = "pure";
 | 
					      prompt.theme = "pure";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
# #+TITLE: My Emacs Configuration
 | 
					#+TITLE: My Emacs Configuration
 | 
				
			||||||
# #+AUTHOR: Amneesh Singh
 | 
					#+AUTHOR: Amneesh Singh
 | 
				
			||||||
#+PROPERTY: header-args:emacs-lisp :tangle yes
 | 
					#+PROPERTY: header-args:emacs-lisp :tangle yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Settings
 | 
					* Settings
 | 
				
			||||||
@@ -23,6 +23,9 @@
 | 
				
			|||||||
(setq ring-bell-function 'ignore
 | 
					(setq ring-bell-function 'ignore
 | 
				
			||||||
      gc-cons-threshold most-positive-fixnum
 | 
					      gc-cons-threshold most-positive-fixnum
 | 
				
			||||||
      initial-major-mode 'fundamental-mode)
 | 
					      initial-major-mode 'fundamental-mode)
 | 
				
			||||||
 | 
					(unless (display-graphic-p)
 | 
				
			||||||
 | 
					        (require 'evil-terminal-cursor-changer)
 | 
				
			||||||
 | 
					        (evil-terminal-cursor-changer-activate))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
** Setting some variables
 | 
					** Setting some variables
 | 
				
			||||||
@@ -132,6 +135,8 @@ Add selectrum-prescient
 | 
				
			|||||||
To undo and redo easily like vi
 | 
					To undo and redo easily like vi
 | 
				
			||||||
#+begin_src emacs-lisp
 | 
					#+begin_src emacs-lisp
 | 
				
			||||||
(use-package undo-tree
 | 
					(use-package undo-tree
 | 
				
			||||||
 | 
					  :init
 | 
				
			||||||
 | 
					  (setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo")))
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  (global-undo-tree-mode 1))
 | 
					  (global-undo-tree-mode 1))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
@@ -199,8 +204,7 @@ For autocomplete
 | 
				
			|||||||
  :after lsp-mode
 | 
					  :after lsp-mode
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  (add-to-list 'company-backends 'company-dabbrev)
 | 
					  (add-to-list 'company-backends 'company-dabbrev)
 | 
				
			||||||
  (setq company-backends (cons 'company-files (remove 'company-files company-backends)))
 | 
					  (setq company-backends (append '(company-files) (remove 'company-files company-backends)))
 | 
				
			||||||
  (add-to-list 'company-backends 'company-emoji)
 | 
					 | 
				
			||||||
  (company-mode 1))
 | 
					  (company-mode 1))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -210,11 +214,6 @@ For autocomplete
 | 
				
			|||||||
  :hook (company-mode . company-quickhelp-mode))
 | 
					  :hook (company-mode . company-quickhelp-mode))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*** Extra company packages
 | 
					 | 
				
			||||||
#+begin_src emacs-lisp
 | 
					 | 
				
			||||||
(use-package company-emoji)
 | 
					 | 
				
			||||||
#+end_src
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
** Treesitter
 | 
					** Treesitter
 | 
				
			||||||
#+begin_src emacs-lisp
 | 
					#+begin_src emacs-lisp
 | 
				
			||||||
(use-package tree-sitter-langs :defer t)
 | 
					(use-package tree-sitter-langs :defer t)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,13 +35,15 @@ general {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
decoration {
 | 
					decoration {
 | 
				
			||||||
    rounding = 1
 | 
					    rounding = 1
 | 
				
			||||||
    blur = yes
 | 
					 | 
				
			||||||
    blur_size = 5
 | 
					 | 
				
			||||||
    blur_passes = 1
 | 
					 | 
				
			||||||
    blur_new_optimizations = on
 | 
					 | 
				
			||||||
    blur_xray = yes
 | 
					 | 
				
			||||||
    drop_shadow = yes
 | 
					 | 
				
			||||||
    inactive_opacity = 0.8
 | 
					    inactive_opacity = 0.8
 | 
				
			||||||
 | 
					    drop_shadow = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    blur {
 | 
				
			||||||
 | 
					        enabled = true
 | 
				
			||||||
 | 
					        size = 5
 | 
				
			||||||
 | 
					        new_optimizations = true
 | 
				
			||||||
 | 
					        xray = true
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
animations {
 | 
					animations {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,7 +10,7 @@
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  age.secrets.gitconfig = {
 | 
					  age.secrets.gitconfig = {
 | 
				
			||||||
    file = ./secrets/.gitconfig.age;
 | 
					    file = ./secrets/gitconfig.age;
 | 
				
			||||||
    path = "${config.home.homeDirectory}/.gitconfig";
 | 
					    path = "${config.home.homeDirectory}/.gitconfig";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,7 @@
 | 
				
			|||||||
  gtk = {
 | 
					  gtk = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    theme = {
 | 
					    theme = {
 | 
				
			||||||
      name = "Catppuccin-Mocha-Standard-Teal-dark";
 | 
					      name = "Catppuccin-Mocha-Standard-Teal-Dark";
 | 
				
			||||||
      package = pkgs.catppuccin-gtk.override {
 | 
					      package = pkgs.catppuccin-gtk.override {
 | 
				
			||||||
        accents = [ "teal" ];
 | 
					        accents = [ "teal" ];
 | 
				
			||||||
        variant = "mocha";
 | 
					        variant = "mocha";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,13 +50,14 @@
 | 
				
			|||||||
    gnome.zenity
 | 
					    gnome.zenity
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Wine and games and stuff
 | 
					    # Wine and games and stuff
 | 
				
			||||||
 | 
					    lutris
 | 
				
			||||||
    wineWowPackages.stable
 | 
					    wineWowPackages.stable
 | 
				
			||||||
    steam
 | 
					    steam
 | 
				
			||||||
    lutris
 | 
					    lutris
 | 
				
			||||||
    winetricks
 | 
					    winetricks
 | 
				
			||||||
    flake.packages.${pkgs.system}.tlauncher
 | 
					    flake.packages.${pkgs.system}.tlauncher
 | 
				
			||||||
    mangohud
 | 
					    mangohud
 | 
				
			||||||
    inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
 | 
					    #   inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Programming and dev stuff
 | 
					    # Programming and dev stuff
 | 
				
			||||||
    (texlive.combine {
 | 
					    (texlive.combine {
 | 
				
			||||||
@@ -86,7 +87,6 @@
 | 
				
			|||||||
    ghc
 | 
					    ghc
 | 
				
			||||||
    nodejs
 | 
					    nodejs
 | 
				
			||||||
    rust-bin.nightly.latest.default
 | 
					    rust-bin.nightly.latest.default
 | 
				
			||||||
    clang-tools
 | 
					 | 
				
			||||||
    openjdk
 | 
					    openjdk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Misc
 | 
					    # Misc
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								home/natto/secrets/gitconfig.age
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								home/natto/secrets/gitconfig.age
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -9,9 +9,7 @@
 | 
				
			|||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
        xwayland = {
 | 
					        xwayland = {
 | 
				
			||||||
          enable = true;
 | 
					          enable = true;
 | 
				
			||||||
          hidpi = true;
 | 
					 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        nvidiaPatches = true;
 | 
					 | 
				
			||||||
        extraConfig = (builtins.readFile ./config/hypr/hyprland.conf)
 | 
					        extraConfig = (builtins.readFile ./config/hypr/hyprland.conf)
 | 
				
			||||||
          + (with config.home.pointerCursor; ''
 | 
					          + (with config.home.pointerCursor; ''
 | 
				
			||||||
          exec-once=hyprctl setcursor ${name} ${toString size}
 | 
					          exec-once=hyprctl setcursor ${name} ${toString size}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@ in
 | 
				
			|||||||
  '';
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  age.secrets.zshenv_secret = {
 | 
					  age.secrets.zshenv_secret = {
 | 
				
			||||||
    file = ./secrets/.zshenv_secret;
 | 
					    file = ./secrets/zshenv_secret;
 | 
				
			||||||
    path = secretPath;
 | 
					    path = secretPath;
 | 
				
			||||||
    mode = "660";
 | 
					    mode = "660";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user