mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
41 lines
560 B
Nix
41 lines
560 B
Nix
# GNOME User Share daemon.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
meta = {
|
|
maintainers = teams.gnome.members;
|
|
};
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.gnome3.gnome-user-share = {
|
|
|
|
enable = mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.gnome3.gnome-user-share.enable {
|
|
|
|
environment.systemPackages = [
|
|
pkgs.gnome3.gnome-user-share
|
|
];
|
|
|
|
systemd.packages = [
|
|
pkgs.gnome3.gnome-user-share
|
|
];
|
|
|
|
};
|
|
|
|
}
|