1
1
Fork 0
nixos/options/custom/programs/nautilus.nix
Myned 53c8575116
git: migrate to forgejo
Squashes 1,331 commits

Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 19:41:21 -05:00

33 lines
680 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.custom.programs.nautilus;
in
{
options.custom.programs.nautilus.enable = mkOption { default = false; };
config = mkIf cfg.enable {
services.gvfs.enable = true; # Trash dependency
# Fix nautilus extension environment
# https://github.com/NixOS/nixpkgs/pull/240780
#?? echo $NAUTILUS_4_EXTENSION_DIR
services.gnome = {
core-utilities.enable = true; # Required to set environment variables
sushi.enable = true; # Quick preview with spacebar
};
environment.systemPackages = with pkgs; [
nautilus
nautilus-open-in-blackbox
nautilus-python
];
};
}