25 lines
345 B
Nix
25 lines
345 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.os.gnome.apps;
|
|
in
|
|
{
|
|
options.os.gnome.apps = {
|
|
enable = mkEnableOption "System gnome apps service";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
|
|
environment = {
|
|
systemPackages = with pkgs; [ nautilus ];
|
|
};
|
|
|
|
services.gvfs.enable = true; # SMB, FTP, ... access
|
|
|
|
};
|
|
}
|