Switch to Wayland

This commit is contained in:
Paul-Henri Froidmont 2024-06-23 02:36:51 +02:00
parent b19476f92b
commit 64e94d4ff8
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
22 changed files with 503 additions and 1040 deletions

View file

@ -0,0 +1,42 @@
{ config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.desktop.file-manager;
in {
options.modules.desktop.file-manager = { enable = mkBoolOpt false; };
config = mkIf cfg.enable {
home-manager.users.${config.user.name} = {
programs.yazi = {
enable = true;
enableZshIntegration = true;
settings = {
manager = {
sort_by = "alphabetical";
linemode = "mtime";
};
};
};
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
home = {
packages = with pkgs.unstable; [
ffmpegthumbnailer
unar
poppler
fd
ripgrep
ueberzugpp
exiftool
chafa
xdg-utils
];
};
};
};
}