-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37c061a
commit d1867aa
Showing
16 changed files
with
281 additions
and
1,131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
in { | ||
kirk = { | ||
terminalTools.enable = true; | ||
fzf.enable = true; | ||
git = { | ||
enable = true; | ||
userEmail = "[email protected]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ in { | |
kirk = { | ||
terminalTools.enable = true; | ||
foot.enable = true; | ||
fzf.enable = true; | ||
mpv.enable = true; | ||
mvi.enable = true; | ||
xdgMime.enable = true; | ||
git = { | ||
enable = true; | ||
userEmail = "[email protected]"; | ||
|
@@ -30,8 +32,6 @@ in { | |
enable = true; | ||
configDir = configDir; | ||
}; | ||
joshuto.enableZshIntegration = false; | ||
kakoune.enable = true; | ||
ssh = { | ||
enable = true; | ||
identityPath = "${secretDir}/id_ed25519"; | ||
|
@@ -81,98 +81,6 @@ in { | |
initExtra = "exec zsh"; | ||
}; | ||
|
||
programs.emacs = { | ||
enable = true; | ||
extraConfig = '' | ||
(use-package kakoune) | ||
''; | ||
extraPackages = epkgs: [epkgs.kakoune]; | ||
}; | ||
|
||
# TODO: Add to kirk-module | ||
programs.mpv = { | ||
enable = true; | ||
bindings = { | ||
UP = "add chapter 1"; | ||
DOWN = "add chapter -1"; | ||
ESC = "quit"; | ||
ENTER = "cycle pause"; | ||
f = "cycle fullscreen"; | ||
h = "seek -5"; | ||
j = "add chapter -1"; | ||
k = "add chapter 1"; | ||
l = "seek 5"; | ||
|
||
"Shift+LEFT" = "cycle sub down"; | ||
"Shift+RIGHT" = "cycle sub"; | ||
"Shift+UP" = "cycle audio"; | ||
"Shift+DOWN" = "cycle audio down"; | ||
|
||
y = "add audio-delay 0.010"; | ||
o = "add audio-delay -0.010"; | ||
|
||
i = ''cycle-values vf "sub,lavfi=negate" ""''; | ||
S = "playlist-shuffle"; | ||
|
||
a = "ab-loop"; | ||
|
||
"Alt+r" = "playlist-shuffle"; | ||
}; | ||
scripts = with pkgs.mpvScripts; [ | ||
# Load all files in directory to playlist, playing next alphabetically ordered file on playback end. | ||
autoload | ||
# Better UI | ||
uosc | ||
# Allows media playback buttons to work in mpv | ||
mpris | ||
# Thumbnail support, needs uosc to work | ||
thumbfast | ||
# Prevents screen sleep on gnome | ||
inhibit-gnome | ||
]; | ||
config = { | ||
# TODO: wtf is the reason for this? It should not be necessary. WHY DOES IT WORK!? | ||
vo = "x11"; | ||
|
||
alang = ["jpn" "eng"]; | ||
slang = ["eng"]; | ||
#extension.gif = { | ||
# cache = "no"; | ||
# no-pause = ""; | ||
# loop-file = "yes"; | ||
#}; | ||
#extension.webm = { | ||
# no-pause = ""; | ||
# loop-file = "yes"; | ||
#}; | ||
}; | ||
}; | ||
|
||
xdg.desktopEntries = with pkgs.lib; { | ||
zathura = { | ||
name = "Zathura"; | ||
exec = "${getExe pkgs.zathura} %U"; | ||
#mimeType = [ "application/pdf" ]; | ||
}; | ||
yazi = { | ||
name = "Yazi"; | ||
exec = "${getExe pkgs.foot} ${getExe pkgs.yazi} %u"; | ||
mimeType = [ "inode/directory" ]; | ||
}; | ||
}; | ||
|
||
xdg.mimeApps = { | ||
enable = true; | ||
defaultApplications = { | ||
"application/pdf" = [ "zathura.desktop" ]; | ||
"inode/directory" = [ "yazi.desktop" ]; | ||
"x-scheme-handler/about" = [ "librewolf.desktop" ]; | ||
"x-scheme-handler/http" = [ "librewolf.desktop" ]; | ||
"x-scheme-handler/https" = [ "librewolf.desktop" ]; | ||
"x-scheme-handler/unknown" = [ "librewolf.desktop" ]; | ||
}; | ||
}; | ||
|
||
programs.zsh.profileExtra = '' | ||
export PATH=$PATH:~/.cargo/bin:~/.local/bin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.