nixpkgs/nixos/modules/services/desktops/gnome/gnome-user-share.nix

39 lines
545 B
Nix

# GNOME User Share daemon.
{ config, pkgs, lib, ... }:
{
meta = {
maintainers = lib.teams.gnome.members;
};
###### interface
options = {
services.gnome.gnome-user-share = {
enable = lib.mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME";
};
};
###### implementation
config = lib.mkIf config.services.gnome.gnome-user-share.enable {
environment.systemPackages = [
pkgs.gnome-user-share
];
systemd.packages = [
pkgs.gnome-user-share
];
};
}