home/natto: changes

emacs: colemak related updates
pkgs: random pkgs stuff
secrets: add .gitconfig
services: misc changes
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-11-24 04:37:58 +05:30
parent 436e1016d7
commit 0f648a6a90
4 changed files with 47 additions and 34 deletions

View File

@@ -159,6 +159,8 @@ To undo and redo easily like vi
*** Miscellaneous evil related packages
#+begin_src emacs-lisp
(use-package evil-terminal-cursor-changer)
(use-package evil-anzu
:after evil)
#+end_src
** Treemacs
@@ -246,6 +248,8 @@ For autocomplete
** Lang support
#+begin_src emacs-lisp
(use-package inform7)
(use-package haskell-mode)
(use-package rustic)
@@ -502,30 +506,21 @@ This returns the command to run in the terminal
** General
*** Colemak translations
#+begin_src emacs-lisp
(use-package evil-colemak-basics
:init
(setq evil-colemak-basics-layout-mod 'mod-dh)
:config
(global-evil-colemak-basics-mode))
#+end_src
*** Misc binds
#+begin_src emacs-lisp
(use-package general)
(setq evil-states
'(visual normal motion))
(with-eval-after-load 'general
(general-translate-key evil-states 'global
"m" "h"
"n" "j"
"N" "J"
"e" "k"
"i" "l"
"u" "i"
"l" "u"
"k" "n"
"f" "e"
"t" "f"
"j" "t"
"K" "N"
)
#+end_src
*** Misc binds
#+begin_src emacs-lisp
(general-define-key
:states evil-states
"M-c" 'comment-line

View File

@@ -5,8 +5,7 @@
# A/V, codec and media stuff
ffmpeg-full
sox
pamixer
mpdas
pamixer mpdas
mpv
mpc_cli
pulseaudio
@@ -62,17 +61,25 @@
calibre
gnome.zenity
stalonetray
obs-studio
# Wine and games and stuff
wineWowPackages.stable
master.winetricks
games.wine-discord-ipc-bridge
(games.osu-stable.overrideAttrs (_: {
tricks = [ "gdiplus" "dotnet48" "meiryo" ];
}))
tlauncher
lutris
citra
(yuzu.overrideAttrs (_: rec {
version = "1245";
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
sha256 = "sha256-lWXlY1KQC067MvCRUFhmr0c7KDrHDuwJOhIWMKw1f+A=";
fetchSubmodules = true;
};
}))
ryujinx
# Dev shit
rust-analyzer
@@ -95,6 +102,8 @@
tcolorbox;
})
python3Packages.pygments
inform7
gnome-inform7
# Misc
teams

Binary file not shown.

View File

@@ -51,19 +51,28 @@ in
};
};
systemd.user.services.mpdas = {
Unit = {
After = [ "mpd.service" ];
Description = "Music Player Daemon AutoScrobbler";
systemd.user.services = {
mpd-discord-rpc = {
Service = {
Restart = "on-failure";
RestartSec = "15s";
};
};
Install.WantedBy = [ "default.target" ];
mpdas = {
Unit = {
After = [ "mpd.service" ];
Description = "Music Player Daemon AutoScrobbler";
};
Service = {
Type = "simple";
Restart = "on-failure";
RestartSec = "15s";
ExecStart = "${pkgs.mpdas}/bin/mpdas -c ${config.age.secrets.mpdasrc.path}";
Install.WantedBy = [ "default.target" ];
Service = {
Type = "simple";
Restart = "on-failure";
RestartSec = "15s";
ExecStart = "${pkgs.mpdas}/bin/mpdas -c ${config.age.secrets.mpdasrc.path}";
};
};
};
}