Merge pull request #67549 from worldofpeace/gnome-control-center/fix-sharing
Fix sharing in gnome-control-center
This commit is contained in:
commit
156f335161
@ -12,14 +12,7 @@ with lib;
|
|||||||
|
|
||||||
services.gnome3.gnome-user-share = {
|
services.gnome3.gnome-user-share = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to enable GNOME User Share, a service that exports the
|
|
||||||
contents of the Public folder in your home directory on the local network.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -30,12 +23,13 @@ with lib;
|
|||||||
|
|
||||||
config = mkIf config.services.gnome3.gnome-user-share.enable {
|
config = mkIf config.services.gnome3.gnome-user-share.enable {
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.gnome3.gnome-user-share ];
|
environment.systemPackages = [
|
||||||
|
pkgs.gnome3.gnome-user-share
|
||||||
|
];
|
||||||
|
|
||||||
services.xserver.displayManager.sessionCommands = with pkgs.gnome3; ''
|
systemd.packages = [
|
||||||
# Don't let gnome-control-center depend upon gnome-user-share
|
pkgs.gnome3.gnome-user-share
|
||||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${gnome-user-share}/share/gsettings-schemas/${gnome-user-share.name}
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -60,6 +60,8 @@
|
|||||||
, udisks2
|
, udisks2
|
||||||
, upower
|
, upower
|
||||||
, vino
|
, vino
|
||||||
|
, gnome-user-share
|
||||||
|
, gnome-remote-desktop
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -99,7 +101,9 @@ stdenv.mkDerivation rec {
|
|||||||
gnome-bluetooth
|
gnome-bluetooth
|
||||||
gnome-desktop
|
gnome-desktop
|
||||||
gnome-online-accounts
|
gnome-online-accounts
|
||||||
|
gnome-remote-desktop # optional, sharing panel
|
||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
|
gnome-user-share # optional, sharing panel
|
||||||
grilo
|
grilo
|
||||||
grilo-plugins # for setting wallpaper from Flickr
|
grilo-plugins # for setting wallpaper from Flickr
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
|
Loading…
Reference in New Issue
Block a user