mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
39 lines
545 B
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
|
|
];
|
|
|
|
};
|
|
|
|
}
|