2014-04-11 22:13:31 +01:00
|
|
|
# GNOME User Share daemon.
|
|
|
|
|
2014-05-05 19:58:51 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
2014-04-11 22:13:31 +01:00
|
|
|
|
2014-05-05 19:58:51 +01:00
|
|
|
with lib;
|
2014-04-11 22:13:31 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
|
2020-04-02 01:16:24 +01:00
|
|
|
meta = {
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
|
2014-04-11 22:13:31 +01:00
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
services.gnome3.gnome-user-share = {
|
|
|
|
|
2019-08-27 08:07:57 +01:00
|
|
|
enable = mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME";
|
2014-04-11 22:13:31 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.gnome3.gnome-user-share.enable {
|
|
|
|
|
2019-08-27 08:07:57 +01:00
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.gnome3.gnome-user-share
|
|
|
|
];
|
2014-04-11 22:13:31 +01:00
|
|
|
|
2019-08-27 08:07:57 +01:00
|
|
|
systemd.packages = [
|
|
|
|
pkgs.gnome3.gnome-user-share
|
|
|
|
];
|
2014-04-11 22:13:31 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|