Update
This commit is contained in:
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