Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
0c79a57
at-spi2-atk: 2.32.0 → 2.34.0
hedning Sep 2, 2019
ec16cb4
at-spi2-core: 2.32.1 → 2.34.0
hedning Sep 2, 2019
0e341a3
atk: 2.32.0 → 2.34.1
hedning Sep 2, 2019
0a826ed
baobab: 3.32.0 → 3.34.0
hedning Sep 9, 2019
8c5486a
dee: fix build with glib-2.62
hedning Sep 11, 2019
91fed91
evolution-data-server: 3.32.4 → 3.34.0
hedning Sep 2, 2019
a1eda81
folks: 0.12.1 → 0.13.1
hedning Sep 2, 2019
343dec4
gcr: 3.28.1 → 3.33.4
hedning Sep 2, 2019
9baa018
gdk-pixbuf: 2.38.1 → 2.38.2
worldofpeace Sep 19, 2019
a3ef0bf
gdl: 3.28.0 → 3.34.0
hedning Sep 8, 2019
1644d1c
glib-networking: 2.60.3 → 2.62.0
hedning Sep 4, 2019
1e3e782
glib: 2.60.7 -> 2.62.0
hedning Sep 2, 2019
5a5f149
gnome-builder: 3.32.4 → 3.34.0
hedning Sep 2, 2019
506c899
gnome-photos: 3.32.1 → 3.34.0
hedning Sep 2, 2019
42b796a
gnome-usage: 3.32.0 → 3.33.2
hedning Sep 2, 2019
78e19b6
gnome3.accerciser: 3.32.3 → 3.34.0
hedning Sep 2, 2019
da0935c
gnome3.adwaita-icon-theme: 3.32.0 → 3.34.0
hedning Sep 6, 2019
f2c3ced
gnome3.aisleriot: 3.22.8 → 3.22.9
hedning Sep 10, 2019
dc9098b
gnome3.anjuta: 3.28.0 → 3.34.0
hedning Sep 9, 2019
28c6255
gnome3.atomix: 3.32.1 → 3.34.0
hedning Sep 4, 2019
7a414f8
gnome3.cheese: 3.32.1 → 3.34.0
hedning Sep 2, 2019
4a25ab2
gnome3.dconf-editor: 3.32.0 → 3.34.1
hedning Sep 2, 2019
ff8958a
gnome3.dconf: 0.32.0 -> 0.34.0
hedning Sep 9, 2019
55c9546
gnome3.devhelp: 3.32.0 → 3.34.0
hedning Sep 9, 2019
a2febc6
gnome3.eog: 3.32.2 → 3.34.0
hedning Sep 2, 2019
484cc37
gnome3.evolution: 3.32.4 → 3.34.0
hedning Sep 2, 2019
9681275
gnome3.file-roller: 3.32.1 → 3.32.2
hedning Sep 9, 2019
7642fae
gnome3.four-in-a-row: 3.32.0 → 3.34.0
hedning Sep 2, 2019
0e598c2
gnome3.gdm: 3.32.0 → 3.34.0
hedning Sep 2, 2019
7dc02aa
gnome3.geary: 3.32.2 -> 3.34.0
hedning Sep 2, 2019
86c879f
gnome3.gedit: 3.32.2 → 3.34.0
hedning Sep 2, 2019
d1cf35e
gnome3.gjs: 1.56.2 → 1.58.0
hedning Sep 2, 2019
1fbeb1d
gnome3.gnome-applets: 3.32.0 → 3.34.0
hedning Sep 6, 2019
21976dd
gnome3.gnome-bluetooth: 3.32.1 → 3.34.0
hedning Sep 2, 2019
c09404c
gnome3.gnome-books: 3.32.0 → 3.34.0
hedning Sep 2, 2019
b59b976
gnome3.gnome-boxes: 3.32.1 → 3.34.0
hedning Sep 4, 2019
108b0e5
gnome3.gnome-calculator: 3.32.2 → 3.34.0
hedning Sep 2, 2019
36f752d
gnome3.gnome-calendar: 3.32.2 → 3.34.0
hedning Sep 2, 2019
b44b63a
gnome3.gnome-chess: 3.32.0 → 3.34.0
hedning Sep 2, 2019
e321bba
gnome3.gnome-clocks: 3.32.0 → 3.34.0
hedning Sep 2, 2019
be2cfc4
gnome3.gnome-contacts: 3.32.1 → 3.34
hedning Sep 2, 2019
e344e02
gnome3.gnome-control-center: 3.32.2 → 3.34.0.1
hedning Sep 2, 2019
e0ee3d7
gnome3.gnome-desktop: 3.32.2 → 3.34.0
hedning Sep 2, 2019
cd0a6e7
gnome3.gnome-disk-utility: 3.32.1 → 3.34.0
hedning Sep 2, 2019
1415bf1
gnome3.gnome-documents: 3.32.0 → 3.33.90
hedning Sep 2, 2019
e702f9e
gnome3.gnome-flashback: 3.32.0 → 3.34.0
hedning Sep 2, 2019
ea250ca
gnome3.gnome-font-viewer: 3.32.0 → 3.34.0
hedning Sep 2, 2019
2308486
gnome3.gnome-getting-started-docs: 3.32.2 → 3.34.0
hedning Sep 2, 2019
28788db
gnome3.gnome-klotski: 3.32.0 → 3.34.0
hedning Sep 2, 2019
0c456c3
gnome3.gnome-logs: 3.32.1 → 3.34.0
hedning Sep 2, 2019
3c22947
gnome3.gnome-mahjongg: 3.32.0 → 3.34.0
hedning Sep 2, 2019
eb2076a
gnome3.gnome-maps: 3.32.2.1 → 3.34.0
hedning Sep 2, 2019
16544a6
gnome3.gnome-mines: 3.32.2 → 3.34.0
hedning Sep 2, 2019
5bb4b8c
gnome3.gnome-music: 3.32.2 → 3.34.0
hedning Sep 2, 2019
a36a47a
gnome3.gnome-nibbles: 3.32.0 → 3.34.0
hedning Sep 2, 2019
fcf160d
gnome3.gnome-notes: 3.32.2 → 3.34.0
hedning Sep 4, 2019
1dce1e5
gnome3.gnome-online-accounts: 3.32.0 → 3.34.0
hedning Sep 2, 2019
40aa293
gnome3.gnome-online-miners: 3.30.0 → 3.34.0
hedning Sep 4, 2019
be73d20
gnome3.gnome-panel: 3.32.0 → 3.34.0
hedning Sep 2, 2019
e70325a
gnome3.gnome-robots: 3.32.0 → 3.34.0
hedning Sep 2, 2019
f6c19ee
gnome3.gnome-screenshot: 3.32.0 → 3.33.90
hedning Sep 2, 2019
6e9c75e
gnome3.gnome-session: 3.32.0 → 3.34.0
hedning Sep 2, 2019
b373422
gnome3.gnome-settings-daemon: 3.32.1 → 3.34.0
hedning Sep 2, 2019
4845bd0
gnome3.gnome-shell-extensions: 3.32.1 → 3.34.0
hedning Sep 2, 2019
ca97cae
gnome3.gnome-shell: 3.32.2 -> 3.34.0
hedning Sep 9, 2019
860f104
gnome3.gnome-software: 3.32.4 → 3.34.0
hedning Sep 9, 2019
9917cd0
gnome3.gnome-sudoku: 3.32.0 → 3.34.0
hedning Sep 2, 2019
97aa298
gnome3.gnome-taquin: 3.32.0 → 3.34.0
hedning Sep 2, 2019
7b50a0e
gnome3.gnome-terminal: 3.32.2 → 3.34.0
hedning Sep 2, 2019
4353f36
gnome3.gnome-tetravex: 3.32.0 → 3.34.0
hedning Sep 2, 2019
23228d7
gnome3.gnome-tweaks: 3.32.0 → 3.34.0
hedning Sep 2, 2019
08cbcdb
gnome3.gnome-user-docs: 3.32.3 → 3.34.0
hedning Sep 2, 2019
50babe1
gnome3.gnome-user-share: 3.32.0.1 → 3.34.0
hedning Sep 2, 2019
d5f1b96
gnome3.gnome-weather: 3.32.2 → 3.34.0
hedning Sep 2, 2019
40f2a2c
gnome3.hitori: 3.32.0 → 3.34.0
hedning Sep 2, 2019
02bef3c
gnome3.iagno: 3.32.0 → 3.34.0
hedning Sep 2, 2019
0df8cd8
gnome3.libgnome-games-support: 1.4.3 → 1.4.4
hedning Sep 4, 2019
2803a9c
gnome3.lightsoff: 3.32.0 → 3.34.0
hedning Sep 4, 2019
894df0c
gnome3.metacity: 3.32.0 → 3.34.0
hedning Sep 6, 2019
f01d9db
gnome3.mutter: 3.32.2 -> 3.34.0
hedning Sep 9, 2019
f011fc9
gnome3.nautilus: 3.32.3 → 3.34.0
hedning Sep 2, 2019
76f634b
gnome3.polari: 3.32.2 → 3.34.0
hedning Sep 2, 2019
324c705
gnome3.quadrapassel: 3.32.0 → 3.34.0
hedning Sep 2, 2019
202ce61
gnome3.sushi: 3.32.1 → 3.34.0
hedning Sep 2, 2019
fa8d17b
gnome3.swell-foop: 3.32.0 → 3.34.0
hedning Sep 4, 2019
2f2f178
gnome3.totem: 3.32.1 → 3.34.0
hedning Sep 2, 2019
4a1a728
gnome3.tracker-miners: 2.2.2 → 2.3.0
hedning Sep 2, 2019
93ecc2a
gnome3.tracker: 2.2.2 → 2.3.0
hedning Sep 2, 2019
b748da6
gnome3.yelp-xsl: 3.32.1 → 3.34.0
hedning Sep 2, 2019
7d49165
gnomeExtensions.gsconnect: 23 -> 26
hedning Sep 10, 2019
99fb5e3
gobject-introspection: 1.60.2 → 1.62.0
hedning Sep 4, 2019
8df73be
gsettings-desktop-schemas: 3.32.0 → 3.34.0
hedning Sep 2, 2019
593e238
gspell: 1.8.1 → 1.8.2
hedning Sep 8, 2019
5f6c07f
gtksourceview4: 4.2.0 → 4.4.0
hedning Sep 2, 2019
ad19a11
gvfs: 1.40.2 → 1.42.0
hedning Sep 2, 2019
d3779ee
jsonrpc-glib: 3.32.0 → 3.33.3
hedning Sep 2, 2019
a8dd352
libdazzle: 3.32.3 → 3.34.0
hedning Sep 2, 2019
88de388
libgweather: 3.32.2 → 3.33.92
hedning Sep 2, 2019
1edd898
libmbim: 1.18.2 -> 1.20.0
hedning Sep 9, 2019
9e6d89e
libpeas: 1.22.0 → 1.24.0
hedning Sep 2, 2019
d5491d4
libqmi: 1.22.4 -> 1.22.6
hedning Sep 9, 2019
7a4bbf6
libsoup: 2.66.2 -> 2.68.1
hedning Sep 9, 2019
f4e233e
orca: 3.32.0 → 3.34.0
hedning Sep 2, 2019
8cca941
simple-scan: 3.32.2.1 → 3.34.0
hedning Sep 2, 2019
63b9cbd
sysprof: 3.32.0 -> 3.34.0
hedning Sep 9, 2019
374ae1b
vte: 0.56.3 → 0.58.0
hedning Sep 4, 2019
12f9e84
yelp: 3.32.2 → 3.34.0
hedning Sep 2, 2019
90b8ac0
vte-ng: fix build
hedning Sep 14, 2019
2998481
gcolor3: fix build
hedning Sep 14, 2019
afe0053
gnome3.gpaste: 3.32.0 -> 3.34.0
hedning Sep 14, 2019
e732933
networkmanager-iodine: fix build with glib-2.62
hedning Sep 4, 2019
8ff1d64
gnucash: fix build with glib-2.62
hedning Sep 14, 2019
03495ea
bamf: fix build with glib-2.62
hedning Sep 14, 2019
0b45e79
libunique: fix build with glib-2.62
hedning Sep 14, 2019
36a95c7
ldmtool: fix build with glib-2.62
hedning Sep 14, 2019
a993a06
xlog: fix build with glib-2.62
hedning Sep 14, 2019
b85523c
purple-matrix: fix build with glib-2.62
hedning Sep 14, 2019
203ba05
openjfx12: fix build with glib-2.62
hedning Sep 14, 2019
1905a6d
openjfx11: fix build with glib-2.62
hedning Sep 14, 2019
4885a95
putty: fix build with glib-2.62
hedning Sep 15, 2019
ade2073
gnome3.gnome-backgrounds: 3.32.0 → 3.34.0
hedning Sep 15, 2019
6a35bd4
grilo: 0.3.9 → 0.3.10
hedning Sep 15, 2019
7817c87
gnome3.grilo-plugins: 0.3.9 → 0.3.10
hedning Sep 15, 2019
8ca6303
libsecret: 0.18.8 -> 0.19.1
worldofpeace Sep 15, 2019
345ef1c
gnome3.gnome-autoar: cleanup
worldofpeace Sep 15, 2019
90b0e3c
gnome3.gnome-shell: enable extensions_tool
worldofpeace Sep 15, 2019
fc43be5
nixos/gdm: start after getty@tty1
hedning Sep 15, 2019
d27212d
nixos/gnome3: enable systemd session
hedning Sep 16, 2019
b916c65
gnome3.gnome-shell: hardcode gsettings path
hedning Sep 16, 2019
a821167
gnome3.mutter: enable profiler
worldofpeace Sep 16, 2019
c95786f
stupidterm: fix build with updated vte
hedning Sep 17, 2019
a7d9f90
xfce4-14.xfce4-terminal: fix build with updated vte
hedning Sep 17, 2019
51770cb
deepin.deepin-terminal: fix build with updated vte
hedning Sep 17, 2019
ecc32f8
networkmanager_strongswan: fix build with glib-2.62
hedning Sep 17, 2019
cc4c198
sakura: fix build with updated vte
hedning Sep 17, 2019
1c5dac0
roxterm: fix build with updated vte
hedning Sep 17, 2019
8fa7740
planner: fix build with glib-2.62
hedning Sep 17, 2019
f820649
pidgin-sipe: fix build with glib-2.62
hedning Sep 17, 2019
e3bece7
gnome3.gnome-todo: fix build with libecal 2.0
worldofpeace Sep 17, 2019
a9633e8
gnome3.nautilus-sendto: remove
worldofpeace Sep 17, 2019
08fc2fc
gnome-firmware-updater: init at 3.34.0
jtojnar Aug 28, 2019
2e4f06c
pantheon.elementary-calendar: 5.0 -> 2019-09-17
worldofpeace Sep 17, 2019
70f2402
gnome3.gnome-sound-recorder: 3.32.1 -> 3.34.0
worldofpeace Sep 18, 2019
d82ed7e
lxqt-archiver: 0.0.96 -> 2019-09-15
hedning Sep 18, 2019
393e96b
gtk3: 3.24.10 -> 3.24.11
dtzWill Sep 18, 2019
ec52a8a
glibmm: 2.60.0 -> 2.62.0
worldofpeace Sep 18, 2019
edc4d08
vala_0_44: 0.44.6 -> 0.44.7
worldofpeace Sep 19, 2019
14bcc08
vala_0_38: remove
worldofpeace Sep 19, 2019
6b4bdd6
vala_0_36: 0.36.19 -> 0.36.20
worldofpeace Sep 19, 2019
2c4fd15
vala_0_46: init at 0.46.1
worldofpeace Sep 19, 2019
628bb2a
vala_0_42: remove
worldofpeace Sep 19, 2019
9e6896c
vala: use vala_0_46
worldofpeace Sep 19, 2019
41d71ba
dee: pull in patches
worldofpeace Sep 19, 2019
4ff0d1e
umockdev: use latest vala
worldofpeace Sep 19, 2019
f8682c3
gnome3.gnome-initial-setup: init at 3.34.0
worldofpeace Sep 19, 2019
f9b4493
nixos/gnome-initial-setup: init
worldofpeace Sep 19, 2019
ea6aae8
gnome3.gdm: add branding
worldofpeace Sep 19, 2019
f462b37
nixos/gdm: prevent g-i-s from running
worldofpeace Sep 20, 2019
38147b9
nixos/gnome-initial-setup: prevent run on existing systems
worldofpeace Sep 20, 2019
84fb39e
webkitgtk: 2.24.4 -> 2.26.1
hedning Sep 16, 2019
e7b7d75
epiphany: 3.32.4 -> 3.34.0
worldofpeace Sep 21, 2019
752ebe1
libunity: fix build with latest vala
worldofpeace Sep 21, 2019
7ba3608
feedreader: fix build with latest libsecret
worldofpeace Sep 21, 2019
1252132
midori: 7 -> 9.0
worldofpeace Sep 21, 2019
dac8bf9
libpeas: correct gtk .pc file
worldofpeace Sep 21, 2019
d935c9b
gnomeExtensions.mediaplayer: remove
worldofpeace Sep 23, 2019
fc8413d
gnomeExtensions.appindicator: 29 -> 30
worldofpeace Sep 23, 2019
3b81b3a
gnomeExtensions.arc-menu: 31 -> 33.2
worldofpeace Sep 23, 2019
18f2e62
gnomeExtensions.caffeine: make as broken
worldofpeace Sep 23, 2019
77f1d77
gnomeExtensions.clipboard-indicator: mark as broken
worldofpeace Sep 23, 2019
006330b
gnomeExtensions.icon-hider: mark as broken
worldofpeace Sep 23, 2019
4333119
gnomeExtensions.pidgin-im-integration: mark as broken
worldofpeace Sep 23, 2019
d6413fc
gnomeExtensions.remove-dropdown-arrows: 11 -> 13
worldofpeace Sep 23, 2019
9599236
gnomeExtension.sound-output-device-chooser: 2019-04-01 -> 24
worldofpeace Sep 23, 2019
b9f3160
gnomeExtension.system-monitor-applet: mark as broken
worldofpeace Sep 23, 2019
3e0539a
gnomeExtension.taskwhisperer: mark as broken
worldofpeace Sep 23, 2019
eebc63a
gnomeExtension.tilingnome: 2019-01-18 -> 2019-09-19
worldofpeace Sep 23, 2019
76d12e8
gnomeExtension.timepp: mark as broken
worldofpeace Sep 23, 2019
da8226b
gnome3.pomodoro: 0.15.1 -> 2019-09-15
worldofpeace Sep 23, 2019
513e8de
pantheon.elementary-settings-daemon: fix gnome-session detecting auto…
worldofpeace Sep 25, 2019
a62a8aa
pantheon.elementary-session-settings: add default settings to config …
worldofpeace Feb 26, 2019
22dccf9
gnome3.gdm: fix rebuild switch
worldofpeace Sep 27, 2019
dcd578d
gnome3.gdm: Remove duplicate sessions when on Xorg
worldofpeace Sep 27, 2019
2f41598
gnome3.gnome-session: fix debug spam with systemd session
worldofpeace Sep 27, 2019
dd86155
nixos/gnome3: use sessionVariables
worldofpeace Sep 27, 2019
34a76d4
gnome3.gnome-shell: drop caribou
hedning Sep 27, 2019
880fab1
gnome3.mutter: Add upstream patches before 3.34.1
hedning Sep 28, 2019
b8ab859
vte-ng: move inside termite
jtojnar Sep 28, 2019
1c5db65
gnome3.seahorse: fix build with recent libsecret
jtojnar Sep 29, 2019
4406967
grilo-plugins: build grl-bookmarks
jtojnar Sep 29, 2019
6d88a57
gnome3.evolution: fix FHS paths
worldofpeace Sep 29, 2019
a631d57
pantheon.wingpanel-indicator-datetime: use older e-s-d
worldofpeace Sep 29, 2019
0038189
grilo-plugins: add grl-chromaprint
jtojnar Sep 29, 2019
4b3942b
gnomeExtensions.dash-to-dock: 66 -> 20190921
hedning Sep 29, 2019
7543b25
libproxy: build with spidermonkey_60
worldofpeace Sep 30, 2019
04b726c
gnome3.evince: 3.32.0 -> 3.34.0
worldofpeace Oct 1, 2019
fa8b4ee
gnome3.gnome-keyring: 3.31.91 -> 3.34.0
worldofpeace Oct 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,11 @@
./services/desktops/gnome3/chrome-gnome-shell.nix
./services/desktops/gnome3/evolution-data-server.nix
./services/desktops/gnome3/glib-networking.nix
./services/desktops/gnome3/gnome-initial-setup.nix
./services/desktops/gnome3/gnome-keyring.nix
./services/desktops/gnome3/gnome-online-accounts.nix
./services/desktops/gnome3/gnome-remote-desktop.nix
./services/desktops/gnome3/gnome-online-miners.nix
./services/desktops/gnome3/gnome-remote-desktop.nix
./services/desktops/gnome3/gnome-settings-daemon.nix
./services/desktops/gnome3/gnome-user-share.nix
./services/desktops/gnome3/rygel.nix
Expand Down
86 changes: 86 additions & 0 deletions nixos/modules/services/desktops/gnome3/gnome-initial-setup.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# GNOME Initial Setup.

{ config, pkgs, lib, ... }:

with lib;

let

# GNOME initial setup's run is conditioned on whether
# the gnome-initial-setup-done file exists in XDG_CONFIG_HOME
# Because of this, every existing user will have initial setup
# running because they never ran it before.
#
# To prevent this we create the file if the users stateVersion
# is older than 20.03 (the release we added this module).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed this is terrifying 😄

No idea why this wasn't rewritten to use gsettings, Pantheon's onboarding application keeps a key of pages viewed to condition it starting. With something like that this could become a simple gsettings override.


script = pkgs.writeScript "create-gis-stamp-files" ''
#!${pkgs.runtimeShell}
setup_done=$HOME/.config/gnome-initial-setup-done

echo "Creating g-i-s stamp file $setup_done ..."
cat - > $setup_done <<- EOF
yes
EOF
'';

createGisStampFilesAutostart = pkgs.writeTextFile rec {
name = "create-g-i-s-stamp-files";
destination = "/etc/xdg/autostart/${name}.desktop";
text = ''
[Desktop Entry]
Type=Application
Name=Create GNOME Initial Setup stamp files
Exec=${script}
StartupNotify=false
NoDisplay=true
OnlyShowIn=GNOME;
AutostartCondition=unless-exists gnome-initial-setup-done
X-GNOME-Autostart-Phase=EarlyInitialization
'';
};

in

{

###### interface

options = {

services.gnome3.gnome-initial-setup = {

enable = mkEnableOption "GNOME Initial Setup, a Simple, easy, and safe way to prepare a new system";

};

};


###### implementation

config = mkIf config.services.gnome3.gnome-initial-setup.enable {

environment.systemPackages = [
pkgs.gnome3.gnome-initial-setup
]
++ optional (versionOlder config.system.stateVersion "20.03") createGisStampFilesAutostart
;

systemd.packages = [
pkgs.gnome3.gnome-initial-setup
];

systemd.user.targets."gnome-session".wants = [
"gnome-initial-setup-copy-worker.service"
"gnome-initial-setup-first-login.service"
"gnome-welcome-tour.service"
];

systemd.user.targets."gnome-session@gnome-initial-setup".wants = [
"gnome-initial-setup.service"
];

};

}
27 changes: 22 additions & 5 deletions nixos/modules/services/x11/desktop-managers/gnome3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ in

environment.systemPackages = cfg.sessionPath;

environment.variables.GNOME_SESSION_DEBUG = mkIf cfg.debug "1";
environment.sessionVariables.GNOME_SESSION_DEBUG = mkIf cfg.debug "1";

# Override GSettings schemas
environment.variables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";
environment.sessionVariables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";

# If gnome3 is installed, build vim for gtk3 too.
nixpkgs.config.vim.gui = "gtk3";
Expand Down Expand Up @@ -229,14 +229,31 @@ in
services.colord.enable = mkDefault true;
services.gnome3.chrome-gnome-shell.enable = mkDefault true;
services.gnome3.glib-networking.enable = true;
services.gnome3.gnome-initial-setup.enable = mkDefault true;
services.gnome3.gnome-remote-desktop.enable = mkDefault true;
services.gnome3.gnome-settings-daemon.enable = true;
services.gnome3.gnome-user-share.enable = mkDefault true;
services.gnome3.rygel.enable = mkDefault true;
services.gvfs.enable = true;
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
services.telepathy.enable = mkDefault true;
systemd.packages = [ pkgs.gnome3.vino ];

systemd.packages = with pkgs.gnome3; [ vino gnome-session gnome-settings-daemon ];

# gnome-settings-daemon.nix is shared between several desktop
# environments (eg. mate and pantheon) so specify these gnome-shell specific
# service dependencies here instead.
systemd.user.targets."gnome-session-initialized".wants = [
"gsd-a11y-settings.target" "gsd-housekeeping.target" "gsd-power.target"
"gsd-color.target" "gsd-keyboard.target" "gsd-print-notifications.target"
"gsd-datetime.target" "gsd-media-keys.target" "gsd-rfkill.target"
"gsd-screensaver-proxy.target" "gsd-sound.target" "gsd-smartcard.target"
"gsd-sharing.target" "gsd-wacom.target" "gsd-wwan.target"
];

systemd.user.targets."gnome-session-x11-services".wants = [
"gsd-xsettings.target"
];

services.avahi.enable = mkDefault true;

Expand Down Expand Up @@ -329,10 +346,10 @@ in

# Let nautilus find extensions
# TODO: Create nautilus-with-extensions package
environment.variables.NAUTILUS_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-3.0";
environment.sessionVariables.NAUTILUS_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-3.0";

# Override default mimeapps for nautilus
environment.variables.XDG_DATA_DIRS = [ "${mimeAppsList}/share" ];
environment.sessionVariables.XDG_DATA_DIRS = [ "${mimeAppsList}/share" ];

environment.pathsToLink = [
"/share/nautilus-python/extensions"
Expand Down
9 changes: 9 additions & 0 deletions nixos/modules/services/x11/display-managers/gdm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ in
mkdir -p /run/gdm/.config/pulse
ln -sf ${pulseConfig} /run/gdm/.config/pulse/default.pa
chown -R gdm:gdm /run/gdm/.config
'' + optionalString config.services.gnome3.gnome-initial-setup.enable ''
# Create stamp file for gnome-initial-setup to prevent run.
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
yes
EOF
'';
};

Expand All @@ -159,6 +164,10 @@ in
"rc-local.service"
"systemd-machined.service"
"systemd-user-sessions.service"
"getty@tty1.service"
];
systemd.services.display-manager.conflicts = [
"getty@tty1.service"
];

systemd.services.display-manager.serviceConfig = {
Expand Down
16 changes: 8 additions & 8 deletions pkgs/applications/editors/gnome-builder/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ gcc8Stdenv
{ stdenv
, ctags
, appstream-glib
, desktop-file-utils
Expand All @@ -23,6 +23,7 @@
, ninja
, ostree
, pcre
, pcre2
, pkgconfig
, python3
, sysprof
Expand All @@ -33,20 +34,16 @@
, wrapGAppsHook
, dbus
, xvfb_run
, glib
}:

let
# Does not build with GCC 7
# https://gitlab.gnome.org/GNOME/gnome-builder/issues/868
stdenv = gcc8Stdenv;
in
stdenv.mkDerivation rec {
pname = "gnome-builder";
version = "3.32.4";
version = "3.34.0";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xip58m206p8wa28p0a3y4ykylzr5xzmirjl3dspg4j25r08i8qr";
sha256 = "19i2ipgw48fpd50wacwyhj35hajlg7qcyxpj8rsqk4g21ijfykrg";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -82,6 +79,7 @@ stdenv.mkDerivation rec {
libxml2
ostree
pcre
pcre2
python3
sysprof
template-glib
Expand All @@ -100,6 +98,8 @@ stdenv.mkDerivation rec {
patchShebangs build-aux/meson/post_install.py
'';

NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";

mesonFlags = [
"-Dpython_libprefix=${python3.libPrefix}"
"-Ddocs=true"
Expand Down
11 changes: 10 additions & 1 deletion pkgs/applications/graphics/gcolor3/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenv, fetchFromGitLab, meson, ninja, gettext, pkgconfig, libxml2, gtk3, hicolor-icon-theme, wrapGAppsHook }:
{ stdenv, fetchFromGitLab, meson, ninja, gettext, pkgconfig, libxml2, gtk3, hicolor-icon-theme, wrapGAppsHook
, fetchpatch }:

let
version = "2.3.1";
Expand All @@ -14,6 +15,14 @@ in stdenv.mkDerivation {
sha256 = "10cfzlkflwkb7f51rnrxmgxpfryh1qzvqaydj6lffjq9zvnhigg7";
};

patches = [
# Remove useage of deprecrated G_PARAM_PRIVATE
(fetchpatch {
url = "https://gitlab.gnome.org/World/gcolor3/commit/96612cdd6c2cc71e28eb97ee17956004a05e5140.patch";
sha256 = "134wv5x15bd7k0fjzifrddwssaq213sx2l38r3xw6x1j625qwzq9";
})
];

nativeBuildInputs = [ meson ninja gettext pkgconfig libxml2 wrapGAppsHook ];

buildInputs = [ gtk3 hicolor-icon-theme ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/gnome-photos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@

stdenv.mkDerivation rec {
pname = "gnome-photos";
version = "3.32.1";
version = "3.34.0";

outputs = [ "out" "installedTests" ];

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0nxa2jz1g73wypdsj19r4plf4hfkhs9mpl7gbhsiyqp1rkn84ahn";
sha256 = "12j455id5g616cn0nnj73v83aqgpavrsqszw1r5yhbpyc76lg03m";
};

patches = [
Expand Down
76 changes: 76 additions & 0 deletions pkgs/applications/misc/gnome-firmware-updater/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{ stdenv
, fetchFromGitLab
, fetchpatch
, appstream-glib
, desktop-file-utils
, fwupd
, gettext
, glib
, gnome3
, gtk3
, libsoup
, libxmlb
, meson
, ninja
, pkgconfig
, systemd
, help2man
, wrapGAppsHook
}:

stdenv.mkDerivation rec {
pname = "gnome-firmware-updater";
version = "3.34.0";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "hughsie";
repo = "gnome-firmware-updater";
rev = version;
sha256 = "04pll0fzf4nr276kfw89r0524s6ppmls5rz4vq2j8c8gb50g0b6l";
};

patches = [
# Fixes manual build
(fetchpatch {
url = "https://gitlab.gnome.org/hughsie/gnome-firmware-updater/commit/006b64dcb401d8c81a33222bc4be8274c23f3c9c.patch";
sha256 = "02303ip4ri5pv1bls8c0njb00qhn0jd0d8rmvsrig0fmacwfvc06";
})
(fetchpatch {
url = "https://gitlab.gnome.org/hughsie/gnome-firmware-updater/commit/c4f076f2c902080618e0c27dec924fd0019f68a3.patch";
sha256 = "1yfxd7qsg3gwpamg0m2sbcfrgks59w70r9728arrc4pwx1hia2q1";
})
];

nativeBuildInputs = [
appstream-glib # for ITS rules
desktop-file-utils
gettext
help2man
meson
ninja
pkgconfig
wrapGAppsHook
];

buildInputs = [
fwupd
glib
gtk3
libsoup
libxmlb
systemd
];

mesonFlags = [
"-Dconsolekit=false"
];

meta = with stdenv.lib; {
homepage = "https://gitlab.gnome.org/hughsie/gnome-firmware-updater";
description = "Tool for installing firmware on devices";
license = licenses.gpl2Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}
6 changes: 4 additions & 2 deletions pkgs/applications/misc/gnome-usage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@
, libgtop
, libdazzle
, gnome3
, tracker
}:

stdenv.mkDerivation rec {
pname = "gnome-usage";
version = "3.32.0";
version = "3.33.2";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0bgszckddfpd3czyb9fddx4pgv5yv44sxc45dfk2kgqyy169gjih";
sha256 = "0w3ppfaf15il8mad64qyc9hj1rmlvzs5dyzrxhq7r50k4kyiwmk4";
};

nativeBuildInputs = [
Expand All @@ -41,6 +42,7 @@ stdenv.mkDerivation rec {
gtk3
libdazzle
libgtop
tracker
];

postPatch = ''
Expand Down
Loading