system/home/modules/file_manager/default.nix

36 lines
724 B
Nix
Raw Normal View History

2022-10-28 23:35:03 +03:00
{ pkgs, lib, ... }:
2022-10-12 01:41:32 +03:00
2022-10-28 23:35:03 +03:00
let
viu = pkgs.rustPlatform.buildRustPackage {
pname = "viu";
version = "23-10-2022";
src = pkgs.fetchFromGitHub {
owner = "atanunq";
repo = "viu";
rev = "d377402ab0e29e890779071e2454b51bea8605c1";
sha256 = "sha256-pvEuafwgHORwAjYGSB/m2BcdCCJ/UfLEgSUIgkyBrtI=";
};
# tests need an interactive terminal
doCheck = false;
cargoSha256 = "sha256-WZfQgCAe/vvGQohCJPB4XxKidWwS+m6GxBQ0nBxo8P4=";
};
in
2022-10-12 01:41:32 +03:00
{
2022-10-28 23:35:03 +03:00
home.packages = [
pkgs.vifm
viu # terminal image viewer
2022-11-23 15:41:51 +03:00
pkgs.libarchive
pkgs.zip
pkgs.unzip
2022-10-28 23:35:03 +03:00
];
2022-10-12 01:41:32 +03:00
xdg.configFile = {
"vifm/vifmrc".source = ./vifmrc;
2022-10-28 18:17:11 +03:00
"vifm/colors/catppuccin".source = ./vifm_catppuccin.vifm;
2022-10-12 01:41:32 +03:00
};
}