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 *** Miscellaneous evil related packages
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package evil-terminal-cursor-changer) (use-package evil-terminal-cursor-changer)
(use-package evil-anzu
:after evil)
#+end_src #+end_src
** Treemacs ** Treemacs
@@ -246,6 +248,8 @@ For autocomplete
** Lang support ** Lang support
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package inform7)
(use-package haskell-mode) (use-package haskell-mode)
(use-package rustic) (use-package rustic)
@@ -502,30 +506,21 @@ This returns the command to run in the terminal
** General ** General
*** Colemak translations *** Colemak translations
#+begin_src emacs-lisp #+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) (use-package general)
(setq evil-states (setq evil-states
'(visual normal motion)) '(visual normal motion))
(with-eval-after-load 'general (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 (general-define-key
:states evil-states :states evil-states
"M-c" 'comment-line "M-c" 'comment-line

View File

@@ -5,8 +5,7 @@
# A/V, codec and media stuff # A/V, codec and media stuff
ffmpeg-full ffmpeg-full
sox sox
pamixer pamixer mpdas
mpdas
mpv mpv
mpc_cli mpc_cli
pulseaudio pulseaudio
@@ -62,17 +61,25 @@
calibre calibre
gnome.zenity gnome.zenity
stalonetray stalonetray
obs-studio
# Wine and games and stuff # Wine and games and stuff
wineWowPackages.stable wineWowPackages.stable
master.winetricks master.winetricks
games.wine-discord-ipc-bridge
(games.osu-stable.overrideAttrs (_: {
tricks = [ "gdiplus" "dotnet48" "meiryo" ];
}))
tlauncher tlauncher
lutris lutris
citra 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 # Dev shit
rust-analyzer rust-analyzer
@@ -95,6 +102,8 @@
tcolorbox; tcolorbox;
}) })
python3Packages.pygments python3Packages.pygments
inform7
gnome-inform7
# Misc # Misc
teams teams

Binary file not shown.

View File

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