Update
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
./programs/nvim
|
||||
./programs/qutebrowser
|
||||
./programs/spicetify
|
||||
./programs/zathura
|
||||
|
||||
# Scripts
|
||||
./scripts # All scripts
|
||||
@@ -25,6 +26,8 @@
|
||||
./system/waybar
|
||||
./system/wlogout
|
||||
./system/wofi
|
||||
./system/mime
|
||||
./system/udiskie
|
||||
];
|
||||
|
||||
home = {
|
||||
|
||||
17
home/programs/zathura/default.nix
Normal file
17
home/programs/zathura/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
# PDF viewer
|
||||
{
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
|
||||
options = {
|
||||
guioptions = "v";
|
||||
adjust-open = "width";
|
||||
statusbar-basename = true;
|
||||
render-loading = false;
|
||||
scroll-step = 120;
|
||||
|
||||
# highlight-color = ");
|
||||
# highlight-active-color = mkForce (rgba "base0D");
|
||||
};
|
||||
};
|
||||
}
|
||||
17
home/system/mime/default.nix
Normal file
17
home/system/mime/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
|
||||
defaultApplications = {
|
||||
"text/markdown" = "nvim.desktop";
|
||||
"text/plain" = "nvim.desktop";
|
||||
"image/png" = "imv.desktop";
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"application/pdf" = "zathura.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
./zoxide.nix
|
||||
./tmux.nix
|
||||
./lazygit.nix
|
||||
./eza.nix
|
||||
./fetch
|
||||
./lf
|
||||
];
|
||||
|
||||
13
home/system/shell/eza.nix
Normal file
13
home/system/shell/eza.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = true;
|
||||
|
||||
extraOptions = [
|
||||
"--group-directories-first"
|
||||
"--no-quotes"
|
||||
"--git-ignore"
|
||||
"--icons=always"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ pkgs, lib, config, ... }: {
|
||||
|
||||
home.packages = with pkgs; [ eza bat ripgrep tldr ];
|
||||
home.packages = with pkgs; [ bat ripgrep tldr ];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
@@ -42,8 +42,8 @@
|
||||
celar = "clear";
|
||||
e = "exit";
|
||||
cd = "z";
|
||||
ls = "${pkgs.eza}/bin/eza --icons=always";
|
||||
tree = "${pkgs.eza}/bin/eza --icons=always --tree";
|
||||
ls = "eza --icons=always --no-quotes";
|
||||
tree = "eza --icons=always --tree --no-quotes";
|
||||
sl = "ls";
|
||||
open = "${pkgs.xdg_utils}/bin/xdg-open";
|
||||
icat = "${pkgs.kitty}/bin/kitty +kitten icat";
|
||||
|
||||
6
home/system/udiskie/default.nix
Normal file
6
home/system/udiskie/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
services.udiskie = {
|
||||
enable = true;
|
||||
tray = "always";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user