More config changes

This commit is contained in:
xeovalyte 2024-10-11 08:36:31 +02:00
parent 824394687f
commit ff80abddd0
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
2 changed files with 22 additions and 1 deletions

View File

@ -13,6 +13,7 @@
../../modules/home/cli/common
../../modules/home/cli/develop.nix
../../modules/home/cli/ssh.nix
../../modules/home/cli/yazi.nix
];
@ -43,7 +44,6 @@
unstable.vesktop
unstable.blender
loupe
unstable.bottles
unstable.surrealist
unstable.rnote
@ -69,6 +69,7 @@
enable = true;
defaultApplications = {
"application/pdf" = "firefox.desktop";
"application/rnote" = "rnote.desktop";
};
};

20
modules/home/cli/yazi.nix Normal file
View File

@ -0,0 +1,20 @@
{ pkgs, ... }:
{
programs.yazi = {
enable = true;
enableZshIntegration = true;
settings = {
opener = {
open = [
{ run = "xdg-open $@"; desc = "xdg"; orphan = true; }
];
};
open = {
prepend_rules = [
{ name = "*.rnote"; use = "open"; }
];
};
};
};
}