mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 21:20:13 +00:00
initial refactoring
This commit is contained in:
29
platforms/nixos/modules/nmasur/presets/programs/nautilus.nix
Normal file
29
platforms/nixos/modules/nmasur/presets/programs/nautilus.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user