home/natto: yearly update

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-02-25 17:13:21 +05:30
parent 855dd5d445
commit e0a9283d2e
11 changed files with 22 additions and 23 deletions

View File

@@ -10,7 +10,7 @@
};
enableAutosuggestions = true;
enableCompletion = true;
enableSyntaxHighlighting = true;
syntaxHighlighting.enable = true;
prezto = {
enable = true;
prompt.theme = "pure";

View File

@@ -1,5 +1,5 @@
# #+TITLE: My Emacs Configuration
# #+AUTHOR: Amneesh Singh
#+TITLE: My Emacs Configuration
#+AUTHOR: Amneesh Singh
#+PROPERTY: header-args:emacs-lisp :tangle yes
* Settings
@@ -23,6 +23,9 @@
(setq ring-bell-function 'ignore
gc-cons-threshold most-positive-fixnum
initial-major-mode 'fundamental-mode)
(unless (display-graphic-p)
(require 'evil-terminal-cursor-changer)
(evil-terminal-cursor-changer-activate))
#+end_src
** Setting some variables
@@ -132,6 +135,8 @@ Add selectrum-prescient
To undo and redo easily like vi
#+begin_src emacs-lisp
(use-package undo-tree
:init
(setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo")))
:config
(global-undo-tree-mode 1))
#+end_src
@@ -199,8 +204,7 @@ For autocomplete
:after lsp-mode
:config
(add-to-list 'company-backends 'company-dabbrev)
(setq company-backends (cons 'company-files (remove 'company-files company-backends)))
(add-to-list 'company-backends 'company-emoji)
(setq company-backends (append '(company-files) (remove 'company-files company-backends)))
(company-mode 1))
#+end_src
@@ -210,11 +214,6 @@ For autocomplete
:hook (company-mode . company-quickhelp-mode))
#+end_src
*** Extra company packages
#+begin_src emacs-lisp
(use-package company-emoji)
#+end_src
** Treesitter
#+begin_src emacs-lisp
(use-package tree-sitter-langs :defer t)

View File

@@ -35,13 +35,15 @@ general {
decoration {
rounding = 1
blur = yes
blur_size = 5
blur_passes = 1
blur_new_optimizations = on
blur_xray = yes
drop_shadow = yes
inactive_opacity = 0.8
drop_shadow = true
blur {
enabled = true
size = 5
new_optimizations = true
xray = true
}
}
animations {

View File

@@ -10,7 +10,7 @@
};
age.secrets.gitconfig = {
file = ./secrets/.gitconfig.age;
file = ./secrets/gitconfig.age;
path = "${config.home.homeDirectory}/.gitconfig";
};
}

View File

@@ -3,7 +3,7 @@
gtk = {
enable = true;
theme = {
name = "Catppuccin-Mocha-Standard-Teal-dark";
name = "Catppuccin-Mocha-Standard-Teal-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "teal" ];
variant = "mocha";

View File

@@ -50,13 +50,14 @@
gnome.zenity
# Wine and games and stuff
lutris
wineWowPackages.stable
steam
lutris
winetricks
flake.packages.${pkgs.system}.tlauncher
mangohud
inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
# inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
# Programming and dev stuff
(texlive.combine {
@@ -86,7 +87,6 @@
ghc
nodejs
rust-bin.nightly.latest.default
clang-tools
openjdk
# Misc

Binary file not shown.

Binary file not shown.

View File

@@ -9,9 +9,7 @@
enable = true;
xwayland = {
enable = true;
hidpi = true;
};
nvidiaPatches = true;
extraConfig = (builtins.readFile ./config/hypr/hyprland.conf)
+ (with config.home.pointerCursor; ''
exec-once=hyprctl setcursor ${name} ${toString size}

View File

@@ -9,7 +9,7 @@ in
'';
age.secrets.zshenv_secret = {
file = ./secrets/.zshenv_secret;
file = ./secrets/zshenv_secret;
path = secretPath;
mode = "660";
};