dotfiles/modules/applications/nautilus.nix

21 lines
479 B
Nix
Raw Normal View History

2022-05-30 17:18:18 +00:00
{ config, pkgs, lib, ... }: {
# Install Nautilus file manager
config = lib.mkIf config.gui.enable {
home-manager.users.${config.user} = {
home.packages = with pkgs; [
gnome.nautilus
2022-05-30 20:07:43 +00:00
gnome.sushi # Quick preview with spacebar
2022-05-30 17:18:18 +00:00
];
2022-11-14 15:35:16 +00:00
programs.fish.functions = {
qr = {
body =
"${pkgs.qrencode}/bin/qrencode $argv[1] -o /tmp/qr.png | ${pkgs.gnome.sushi}/bin/sushi /tmp/qr.png";
};
};
2022-05-30 17:18:18 +00:00
};
};
}