Merge pull request #67407 from jtojnar/gnome-bg

nixos/gnome3: fix default background setting
This commit is contained in:
worldofpeace 2019-08-24 18:33:41 -04:00 committed by GitHub
commit e075227b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 117 additions and 24 deletions

View File

@ -29,10 +29,10 @@ let
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
[org.gnome.desktop.background] [org.gnome.desktop.background]
picture-uri='${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png' picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png'
[org.gnome.desktop.screensaver] [org.gnome.desktop.screensaver]
picture-uri='${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png' picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png'
[org.gnome.shell] [org.gnome.shell]
favorite-apps=[ 'org.gnome.Epiphany.desktop', 'evolution.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ] favorite-apps=[ 'org.gnome.Epiphany.desktop', 'evolution.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]

View File

@ -1,15 +1,67 @@
{ fetchurl, stdenv, substituteAll, meson, ninja, pkgconfig, gnome3, ibus, gettext, upower, wrapGAppsHook { fetchurl
, libcanberra-gtk3, accountsservice, libpwquality, libpulseaudio , stdenv
, gdk-pixbuf, librsvg, libgudev, libsecret, gnome-color-manager , substituteAll
, libxml2, polkit, libxslt, libgtop, libsoup, colord, colord-gtk , accountsservice
, libkrb5, networkmanagerapplet, networkmanager, glibc , adwaita-icon-theme
, libwacom, samba, shared-mime-info, tzdata, libgnomekbd , cheese
, docbook_xsl, modemmanager, clutter, clutter-gtk, cheese, gnome-session , clutter
, fontconfig, sound-theme-freedesktop, grilo, python3 , clutter-gtk
, gtk3, glib, glib-networking, gsettings-desktop-schemas , colord
, gnome-desktop, gnome-settings-daemon, gnome-online-accounts , colord-gtk
, vino, gnome-bluetooth, tracker, adwaita-icon-theme , cups
, udisks2, gsound, libhandy, cups, mutter }: , docbook_xsl
, fontconfig
, gdk-pixbuf
, gettext
, glib
, glib-networking
, glibc
, gnome-bluetooth
, gnome-color-manager
, gnome-desktop
, gnome-online-accounts
, gnome-session
, gnome-settings-daemon
, gnome3
, grilo
, grilo-plugins
, gsettings-desktop-schemas
, gsound
, gtk3
, ibus
, libcanberra-gtk3
, libgnomekbd
, libgtop
, libgudev
, libhandy
, libkrb5
, libpulseaudio
, libpwquality
, librsvg
, libsecret
, libsoup
, libwacom
, libxml2
, libxslt
, meson
, modemmanager
, mutter
, networkmanager
, networkmanagerapplet
, ninja
, pkgconfig
, polkit
, python3
, samba
, shared-mime-info
, sound-theme-freedesktop
, tracker
, tzdata
, udisks2
, upower
, vino
, wrapGAppsHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-control-center"; pname = "gnome-control-center";
@ -21,20 +73,61 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja pkgconfig gettext wrapGAppsHook libxslt docbook_xsl docbook_xsl
shared-mime-info python3 gettext
libxslt
meson
ninja
pkgconfig
python3
shared-mime-info
wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
ibus gtk3 glib glib-networking upower gsettings-desktop-schemas accountsservice
libxml2 gnome-desktop gnome-settings-daemon polkit libgtop adwaita-icon-theme
gnome-online-accounts libsoup colord libpulseaudio fontconfig colord-gtk cheese
accountsservice libkrb5 networkmanagerapplet libwacom samba clutter
grilo libpwquality vino libcanberra-gtk3 libgudev libsecret clutter-gtk
gdk-pixbuf adwaita-icon-theme librsvg clutter clutter-gtk cheese colord
networkmanager modemmanager gnome-bluetooth tracker colord-gtk
udisks2 gsound libhandy fontconfig
gdk-pixbuf
glib
glib-networking
gnome-bluetooth
gnome-desktop
gnome-online-accounts
gnome-settings-daemon
grilo
grilo-plugins # for setting wallpaper from Flickr
gsettings-desktop-schemas
gsound
gtk3
ibus
libcanberra-gtk3
libgtop
libgudev
libhandy
libkrb5
libpulseaudio
libpwquality
librsvg
libsecret
libsoup
libwacom
libxml2
modemmanager
mutter # schemas for the keybindings mutter # schemas for the keybindings
networkmanager
networkmanagerapplet
polkit
samba
tracker
udisks2
upower
vino
]; ];
patches = [ patches = [