Compare commits
2 Commits
855dd5d445
...
ed71d6459c
| Author | SHA1 | Date | |
|---|---|---|---|
|
ed71d6459c
|
|||
|
e0a9283d2e
|
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
22 # ssh
|
22 # ssh
|
||||||
80 # http
|
80 # http
|
||||||
# 5454
|
# 5454
|
||||||
5001 #gitea
|
5001 #gitea
|
||||||
4646 #nomad
|
4646 #nomad
|
||||||
# 8500 #vault nomad consul
|
# 8500 #vault nomad consul
|
||||||
8000 #simpler-filehost
|
8000 #simpler-filehost
|
||||||
# 6666 #concourse
|
# 6666 #concourse
|
||||||
# 202 #gitea-ssh
|
# 202 #gitea-ssh
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [ 17840 ];
|
allowedUDPPorts = [ 17840 ];
|
||||||
trustedInterfaces = [ "docker0" ];
|
trustedInterfaces = [ "docker0" ];
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
services = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ports = [22 22001];
|
ports = [ 22 22001 ];
|
||||||
};
|
};
|
||||||
postgresql = {
|
postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
extraPortals = [
|
extraPortals = [
|
||||||
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
|
config.common.default = "*";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,15 +27,8 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraLayouts = {
|
xkb.layout = "us";
|
||||||
colemak = {
|
xkb.variant = "colemak_dh"; # trying to ditch DHz now
|
||||||
description = "Colemak Layouts";
|
|
||||||
languages = [ "eng" ];
|
|
||||||
symbolsFile = ./colemak;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
layout = "us";
|
|
||||||
xkbVariant = "colemak_dh"; # trying to ditch DHz now
|
|
||||||
autoRepeatDelay = 320;
|
autoRepeatDelay = 320;
|
||||||
autoRepeatInterval = 30;
|
autoRepeatInterval = 30;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,17 +1,13 @@
|
|||||||
{ inputs, self, ... }:
|
{ inputs, self, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
config._module.args.globalArgs = {
|
||||||
{
|
_module.args = {
|
||||||
config._module.args.globalArgs = {
|
inherit inputs self;
|
||||||
_module.args = {
|
flake = self;
|
||||||
inherit inputs self;
|
lib' = {
|
||||||
flake = self;
|
colors = import ./colors.nix;
|
||||||
lib' = {
|
network = import ./network.nix;
|
||||||
colors = import ./colors.nix;
|
|
||||||
network = import ./network.nix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user