Removed a bunch of comments.

Installed zathura properly, through nix.
This commit is contained in:
vorboyvo 2024-11-12 12:11:58 -05:00
parent a97edb3e3e
commit 74fcd72041

View file

@ -85,7 +85,6 @@ in {
[ terminal ] ++ # Terminal emulator [ terminal ] ++ # Terminal emulator
[ [
qutebrowser qutebrowser
zathura
evince evince
imv imv
vlc vlc
@ -159,7 +158,7 @@ in {
}]; }];
}; };
# Fixes electron apps and also nnn # Fixes electron apps
home.sessionVariables = home.sessionVariables =
{ {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
@ -170,16 +169,9 @@ in {
xdg.configFile."fontconfig/conf.d/20-default.fonts.conf".source = xdg.configFile."fontconfig/conf.d/20-default.fonts.conf".source =
"${extra}/20-default-fonts.conf"; "${extra}/20-default-fonts.conf";
# fix nemo terminal integration
# dconf.settings."org/cinnamon/desktop/applications/terminal".exec =
# "${pkgs.lib.getExe terminal}";
# dconf.settings."org/cinnamon/desktop/applications/terminal".exec-arg = "-e --cwd %F";
# terminal emulator # terminal emulator
programs.alacritty.enable = true; programs.alacritty.enable = true;
# programs.neovim = import ./programs/neovim.nix;
programs.kakoune = import ../../programs/kakoune.nix pkgs; programs.kakoune = import ../../programs/kakoune.nix pkgs;
xdg.configFile."kak-lsp/kak-lsp.toml".source = xdg.configFile."kak-lsp/kak-lsp.toml".source =
../../programs/kakoune/kak-lsp.toml; ../../programs/kakoune/kak-lsp.toml;
@ -211,31 +203,9 @@ in {
categories = [ "Utility" "TextEditor" ]; categories = [ "Utility" "TextEditor" ];
}; };
programs.nnn = { programs.zathura = {
enable = true; enable = true;
plugins = {
src = pkgs.fetchFromGitHub {
owner = "jarun";
repo = "nnn";
rev = "v4.9";
hash = "sha256-g19uI36HyzTF2YUQKFP4DE2ZBsArGryVHhX79Y0XzhU=";
};
};
}; };
xdg.desktopEntries.nnn = {
name = "nnn";
genericName = "File Manager";
comment = "Terminal file manager";
exec = "env NNN_TRASH=2 nnn -Adex";
terminal = true;
mimeType = [ "inode/directory" ];
categories = [ "System" "FileTools" "FileManager" "ConsoleOnly" ];
settings.Keywords = "File;Manager;Management;Explorer;Launcher";
};
# programs.zathura = {
# enable = true;
# };
programs.pandoc = { enable = true; }; programs.pandoc = { enable = true; };