mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
8a24bc2e08
* No sessionPath! * add to systemd.packages This is for the gnome-user-share-webdav.service. * Update option description
36 lines
504 B
Nix
36 lines
504 B
Nix
# GNOME User Share daemon.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
###### 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
|
|
];
|
|
|
|
};
|
|
|
|
}
|