2025-01-28 18:24:07 -05:00

30 lines
478 B
Nix

{
config,
pkgs,
lib,
...
}:
let
cfg = config.nmasur.presets.programs.nautilus;
in
{
options.nmasur.presets.programs.nautilus.enable = lib.mkEnableOption "Nautilus file manager";
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.nautilus ];
# Quick preview with spacebar
services.gnome.sushi.enable = true;
# Allow client browsing Samba and virtual filesystem shares
services.gvfs = {
enable = true;
};
};
}