5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
38 lines
557 B
Nix
38 lines
557 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.gnome-user-share
|
|
];
|
|
|
|
systemd.packages = [
|
|
pkgs.gnome.gnome-user-share
|
|
];
|
|
|
|
};
|
|
|
|
}
|