f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
38 lines
545 B
Nix
38 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
|
|
];
|
|
|
|
};
|
|
|
|
}
|