Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
45d4246
bluez: enable checkPhase on x86_64-linux
worldofpeace Dec 9, 2019
9f3aa3c
python3Packages.astor: 0.8.0 -> 0.8.1
jonringer Dec 10, 2019
a21b773
wrapGAppsHook: don't add empty variables
Dec 10, 2019
015f792
nixos/nfs: convert test to python
kwohlfahrt Nov 23, 2019
935143a
nfs-utils: build svcgssd
kwohlfahrt Nov 27, 2019
090205e
linux: patch request-key binary path
kwohlfahrt Nov 27, 2019
d5e9d91
nixos/nfs: test nfs with kerberos authentication
kwohlfahrt Nov 27, 2019
bcfcd82
nfs: set up request-key for id mapping
kwohlfahrt Nov 27, 2019
88727b2
keyutils: patch to allow symlinks in config dir
kwohlfahrt Nov 27, 2019
4cbe62a
nfs-utils: link nfs tests
Mic92 Dec 13, 2019
4f2c942
python3.pkgs.pygobject2: 2.28.6 -> 2.28.7
jtojnar Dec 13, 2019
fa18e2e
openh264: 1.8.0 -> 2.0.0 (#64100)
r-ryantm Dec 14, 2019
9059501
python: Rtree: 0.9.1 -> 0.9.2
FRidh Dec 10, 2019
0ea3a09
python: aresponses: 1.1.1 -> 1.1.2
FRidh Dec 10, 2019
2f3764d
python: argcomplete: 1.10.2 -> 1.10.3
FRidh Dec 10, 2019
a4d9e86
python: awkward: 0.12.16 -> 0.12.17
FRidh Dec 10, 2019
3eaba28
python: aws-xray-sdk: 2.4.2 -> 2.4.3
FRidh Dec 10, 2019
317865c
python: bottle: 0.12.17 -> 0.12.18
FRidh Dec 10, 2019
d7a65aa
python: caldav: 0.6.1 -> 0.6.2
FRidh Dec 10, 2019
bed42f0
python: catalogue: 0.0.7 -> 0.0.8
FRidh Dec 10, 2019
43d98c3
python: cmd2: 0.9.21 -> 0.9.22
FRidh Dec 10, 2019
fc1ef83
python: colorama: 0.4.1 -> 0.4.3
FRidh Dec 10, 2019
f31f530
python: ConfigArgParse: 0.15.1 -> 0.15.2
FRidh Dec 10, 2019
1751ed8
python: ddt: 1.2.1 -> 1.2.2
FRidh Dec 10, 2019
5f4248b
python: django-mailman3: 1.3.0 -> 1.3.1
FRidh Dec 10, 2019
9547f11
python: Django: 2.1.14 -> 2.1.15
FRidh Dec 10, 2019
82e5dcb
python: django-contrib-comments: 1.9.1 -> 1.9.2
FRidh Dec 10, 2019
5deb2bb
python: django-reversion: 3.0.4 -> 3.0.5
FRidh Dec 10, 2019
3faaedb
python: dulwich: 0.19.13 -> 0.19.14
FRidh Dec 10, 2019
0db10cf
python: Faker: 2.0.4 -> 2.0.5
FRidh Dec 10, 2019
8019571
python: Fiona: 1.8.11 -> 1.8.13
FRidh Dec 10, 2019
e8164fc
python: FoxDot: 0.8.3 -> 0.8.4
FRidh Dec 10, 2019
f7ed468
python: hdbscan: 0.8.23 -> 0.8.24
FRidh Dec 10, 2019
1f44983
python: holoviews: 1.12.6 -> 1.12.7
FRidh Dec 10, 2019
0fa4349
python: homeassistant_pyozw: 0.1.4 -> 0.1.7
FRidh Dec 10, 2019
955fd22
python: identify: 1.4.7 -> 1.4.8
FRidh Dec 10, 2019
ca521d3
python: joblib: 0.14.0 -> 0.14.1
FRidh Dec 10, 2019
d29a026
python: junos-eznc: 2.3.0 -> 2.3.1
FRidh Dec 10, 2019
b2908fb
python: Kajiki: 0.8.1 -> 0.8.2
FRidh Dec 10, 2019
40360e1
python: kombu: 4.6.6 -> 4.6.7
FRidh Dec 10, 2019
adca8e2
python: lightgbm: 2.3.0 -> 2.3.1
FRidh Dec 10, 2019
1c2daad
python: mozdevice: 3.0.5 -> 3.0.6
FRidh Dec 10, 2019
e068632
python: matplotlib: 3.1.1 -> 3.1.2
FRidh Dec 10, 2019
e903241
python: mysqlclient: 1.4.5 -> 1.4.6
FRidh Dec 10, 2019
e2cabb4
python: nest_asyncio: 1.2.0 -> 1.2.1
FRidh Dec 10, 2019
b0ffbcc
python: neurdflib: 5.0.0.post1 -> 5.0.1
FRidh Dec 10, 2019
bbd4909
python: openpyxl: 3.0.1 -> 3.0.2
FRidh Dec 10, 2019
bbc42c6
python: pafy: 0.5.4 -> 0.5.5
FRidh Dec 10, 2019
06b2509
python: parameterized: 0.7.0 -> 0.7.1
FRidh Dec 10, 2019
75e24a7
python: passlib: 1.7.1 -> 1.7.2
FRidh Dec 10, 2019
8324849
python: pbr: 5.4.3 -> 5.4.4
FRidh Dec 10, 2019
dd2255e
python: pgspecial: 1.11.8 -> 1.11.9
FRidh Dec 10, 2019
d6396b2
python: pluggy: 0.13.0 -> 0.13.1
FRidh Dec 10, 2019
0f666ef
python: preggy: 1.4.2 -> 1.4.4
FRidh Dec 10, 2019
686452c
python: psd-tools: 1.8.30 -> 1.8.32
FRidh Dec 10, 2019
cdae364
python: psutil: 5.6.5 -> 5.6.7
FRidh Dec 10, 2019
3c261ab
python: publicsuffix: 1.1.0 -> 1.1.1
FRidh Dec 10, 2019
0566dff
python: pybullet: 2.5.7 -> 2.5.8
FRidh Dec 10, 2019
85cd028
python: pyfaidx: 0.5.5.2 -> 0.5.7
FRidh Dec 10, 2019
ad24ea3
python: pyhomematic: 0.1.61 -> 0.1.62
FRidh Dec 10, 2019
92d1f5c
python: pyopengl: 3.1.0 -> 3.1.4
FRidh Dec 10, 2019
f718573
python: pyrsistent: 0.15.5 -> 0.15.6
FRidh Dec 10, 2019
c261965
python: pytest: 4.6.6 -> 4.6.7
FRidh Dec 10, 2019
b91a5ca
python: pyvcd: 0.1.4 -> 0.1.5
FRidh Dec 10, 2019
39af133
python: pywebpush: 1.10.0 -> 1.10.1
FRidh Dec 10, 2019
edf5329
python: responses: 0.10.6 -> 0.10.7
FRidh Dec 10, 2019
880307a
python: runsnakerun: 2.0.4 -> 2.0.5
FRidh Dec 10, 2019
b9b2322
python: runway-python: 0.5.3 -> 0.5.4
FRidh Dec 10, 2019
3967f3f
python: scipy: 1.3.2 -> 1.3.3
FRidh Dec 10, 2019
6e48222
python: semantic_version: 2.8.2 -> 2.8.3
FRidh Dec 10, 2019
6084c5e
python: sentry-sdk: 0.13.2 -> 0.13.5
FRidh Dec 10, 2019
acae45f
python: sqlmap: 1.3.11 -> 1.3.12
FRidh Dec 10, 2019
85da352
python: squaremap: 1.0.4 -> 1.0.5
FRidh Dec 10, 2019
5677e22
python: statsmodels: 0.10.1 -> 0.10.2
FRidh Dec 10, 2019
43b6fe8
python: testfixtures: 6.10.2 -> 6.10.3
FRidh Dec 10, 2019
4f60035
python: tifffile: 2019.7.26 -> 2019.7.26.2
FRidh Dec 10, 2019
8620b5c
python: tox: 3.14.1 -> 3.14.2
FRidh Dec 10, 2019
52065fa
python: uamqp: 1.2.3 -> 1.2.4
FRidh Dec 10, 2019
f130ad0
python: validators: 0.14.0 -> 0.14.1
FRidh Dec 10, 2019
aa1ce4c
python: virtualenv: 16.7.7 -> 16.7.8
FRidh Dec 10, 2019
0668115
python: wasabi: 0.4.0 -> 0.4.2
FRidh Dec 10, 2019
96e4989
python: xarray: 0.14.0 -> 0.14.1
FRidh Dec 10, 2019
23db5b1
python: xattr: 0.9.6 -> 0.9.7
FRidh Dec 10, 2019
cfa83a7
python.pkgs.setuptools: 41.6.0 -> 42.0.2
FRidh Dec 12, 2019
546fc04
python.pkgs.pyopengl: fix pname of src
FRidh Dec 15, 2019
cb4c598
libuv: 1.33.1 -> 1.34.0
r-ryantm Dec 8, 2019
6b06e5a
nghttp2: 1.39.2 -> 1.40.0
dtzWill Dec 3, 2019
caeb220
unbound: install headers etc for libevent support as postInstall step
risicle Dec 7, 2019
39b1173
libreswan: 3.18 -> 3.29 (security)
risicle Dec 7, 2019
8096178
gst_all_1.gst-editing-services: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
fee4804
gst_all_1.gst-plugins-bad: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
2dd25d7
gst_all_1.gst-plugins-good: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
5792621
gst_all_1.gst-rtsp-server: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
9f190bd
gst_all_1.gst-validate: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
4bab17c
gst_all_1.gst-libav: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
bc66177
gst_all_1.gst-plugins-base: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
17a080a
gst_all_1.gst-plugins-ugly: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
4f407e7
gst_all_1.gst-vaapi: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
7c5aa2d
gst_all_1.gstreamer: 1.16.1 -> 1.16.2
dtzWill Dec 5, 2019
22820fa
release: remove metrics from unstable channel (temporarily)
vcunat Dec 18, 2019
3204dc3
sundials: replace liblapack by openblas
smaret Dec 9, 2019
c484b84
franz: fix `Exec` substitution in `franz.desktop`
davidtwco Dec 18, 2019
141581e
remmina: 1.3.4 -> 1.3.7
worldofpeace Dec 17, 2019
9fd981c
androidStudioPackages.beta: 3.6.0.17 -> 3.6.0.18
primeos Dec 18, 2019
50ae233
linux: 4.14.158 -> 4.14.159
NeQuissimus Dec 18, 2019
a5fc303
linux: 4.19.89 -> 4.19.90
NeQuissimus Dec 18, 2019
61431d1
linux: 5.3.16 -> 5.3.18
NeQuissimus Dec 18, 2019
a579000
linux: 5.4.3 -> 5.4.5
NeQuissimus Dec 18, 2019
ed259de
linux_latest-libre: 17112 -> 17117
NeQuissimus Dec 18, 2019
4dafa38
oh-my-zsh: 2019-12-07 -> 2019-12-18
NeQuissimus Dec 18, 2019
b4559fc
gleam: init at 0.5.0
Br1ght0ne Dec 17, 2019
93754c0
python3Packages.mypy: 0.740 -> 0.750
jonringer Dec 16, 2019
50df0e1
python3Packages.ics: fix build
jonringer Dec 16, 2019
da945a2
gubbi-font: init at 1.3
Dec 16, 2019
1baf2e2
Revert "release: remove metrics from unstable channel (temporarily)"
vcunat Dec 18, 2019
f2d2c96
nixos/display-manager: extraSessionFilePackages -> sessionPackages
hedning Jan 12, 2019
8abc4d3
nixos/sessionPackages: provide session names in passthru
hedning Jan 12, 2019
69ecda3
nixos/displayManager: check for provided sessions in mkDesktops
hedning Jan 12, 2019
f65468c
nixos/displayManager: introduce defaultSession
hedning Jan 12, 2019
6fab1f2
nixos/lightdm: enable wayland sessions
hedning Jan 14, 2019
3642e92
nixos/displayManager: deprecate separate options for default wm/dm
jtojnar Dec 10, 2019
57d4bef
linux_latest-libre: 17117 -> 17119
NeQuissimus Dec 18, 2019
5ef3fee
tflint: 0.13.2 -> 0.13.3
marsam Dec 18, 2019
8ff6701
nodejs-10_x: 10.17.0 -> 10.18.0
marsam Dec 18, 2019
6aa1687
nodejs-12_x: 12.13.1 -> 12.14.0
marsam Dec 18, 2019
90173a7
yarn: 1.19.2 -> 1.21.1
Dec 17, 2019
2545adf
slirp4netns: v0.4.2 -> v0.4.3
saschagrunert Dec 18, 2019
a82712a
restic: 0.9.5 -> 0.9.6
cust0dian Dec 17, 2019
282e37d
mopidy-iris: 3.42.2 -> 3.43.0
Tomahna Dec 15, 2019
ed00832
matrix-synapse: 1.7.0 -> 1.7.1
Ma27 Dec 18, 2019
7791597
nixos/nixos-option: "See also configuration.nix manpage" in nixos-opt…
chkno Dec 16, 2019
4018bbc
ripgrep-all: add missing dependencies
emmanuelrosa Dec 18, 2019
fb128b2
ripgrep-all: add checkInstall test
emmanuelrosa Dec 18, 2019
bd9a5ee
manual: specify interpreter in virtualenv shell
LnL7 Dec 17, 2019
8c7591e
gitAndTools.lab: 0.17.1 -> 0.17.2
marsam Dec 18, 2019
acbb96e
vimPlugins: Update
poliez Dec 18, 2019
332e8f9
vimPlugins.vim-elm-syntax: init at 2019-11-28
poliez Dec 18, 2019
cb994ce
kdeFrameworks.ki18n: python2 -> python3
grahamc Dec 19, 2019
9c3a41e
alertmanager-bot: init at 0.4.0
mmahut Dec 18, 2019
36ac16d
atlassian-confluence: 7.0.3 -> 7.1.0
globin Nov 29, 2019
f517089
atlassian-confluence: 7.1.0 -> 7.2.0
WilliButz Dec 18, 2019
915f97e
mailutils: 3.2 -> 3.8
grahamc Dec 19, 2019
9948f97
fluent-bit: 1.3.4 -> 1.3.5
marsam Dec 19, 2019
25e4a50
python3Packages.dask: 2.6.0 -> 2.9.0
jonringer Dec 16, 2019
e827f43
python3Packages.bottleneck: 1.2.1 -> 1.3.1
jonringer Dec 16, 2019
3b308e1
vault: 1.3.0 -> 1.3.1
marsam Dec 19, 2019
9a896dd
Added option to the haskell mkDerivation to build quickjump index
mgttlinger Dec 19, 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
13 changes: 7 additions & 6 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,10 @@ Create this `default.nix` file, together with a `requirements.txt` and simply ex

```nix
with import <nixpkgs> {};
with python27Packages;

let
pythonPackages = python27Packages;
in

stdenv.mkDerivation {
name = "impurePythonEnv";
Expand All @@ -1044,9 +1047,8 @@ stdenv.mkDerivation {
buildInputs = [
# these packages are required for virtualenv and pip to work:
#
python27Full
python27Packages.virtualenv
python27Packages.pip
pythonPackages.virtualenv
pythonPackages.pip
# the following packages are related to the dependencies of your python
# project.
# In this particular example the python modules listed in the
Expand All @@ -1059,14 +1061,13 @@ stdenv.mkDerivation {
libxml2
libxslt
libzip
stdenv
zlib
];

shellHook = ''
# set SOURCE_DATE_EPOCH so that we can use python wheels
SOURCE_DATE_EPOCH=$(date +%s)
virtualenv --no-setuptools venv
virtualenv --python=${pythonPackages.python.interpreter} --no-setuptools venv
export PATH=$PWD/venv/bin:$PATH
pip install -r requirements.txt
'';
Expand Down
3 changes: 1 addition & 2 deletions nixos/doc/manual/configuration/x-windows.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
desktop environment. If you wanted no desktop environment and i3 as your your
window manager, you'd define:
<programlisting>
<xref linkend="opt-services.xserver.desktopManager.default"/> = "none";
<xref linkend="opt-services.xserver.windowManager.default"/> = "i3";
<xref linkend="opt-services.xserver.displayManager.defaultSession"/> = "none+i3";
</programlisting>
And, finally, to enable auto-login for a user <literal>johndoe</literal>:
<programlisting>
Expand Down
5 changes: 2 additions & 3 deletions nixos/doc/manual/configuration/xfce.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
<para>
To enable the Xfce Desktop Environment, set
<programlisting>
<link linkend="opt-services.xserver.desktopManager.default">services.xserver.desktopManager</link> = {
<link linkend="opt-services.xserver.desktopManager.xfce.enable">xfce.enable</link> = true;
<link linkend="opt-services.xserver.desktopManager.default">default</link> = "xfce";
<xref linkend="opt-services.xserver.desktopManager.xfce.enable" /> = true;
<xref linkend="opt-services.xserver.displayManager.defaultSession" /> = "xfce";
};
</programlisting>
</para>
Expand Down
9 changes: 9 additions & 0 deletions nixos/doc/manual/man-nixos-option.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,13 @@ Defined by:
bug, please report to Nicolas Pierron.
</para>
</refsection>
<refsection>
<title>See also</title>
<para>
<citerefentry>
<refentrytitle>configuration.nix</refentrytitle>
<manvolnum>5</manvolnum>
</citerefentry>
</para>
</refsection>
</refentry>
13 changes: 13 additions & 0 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@
and adding a <option>--all</option> option which prints all options and their values.
</para>
</listitem>
<listitem>
<para>
<option>services.xserver.desktopManager.default</option> and <option>services.xserver.windowManager.default</option> options were replaced by a single <xref linkend="opt-services.xserver.displayManager.defaultSession"/> option to improve support for upstream session files. If you used something like:
<programlisting>
services.xserver.desktopManager.default = "xfce";
services.xserver.windowManager.default = "icewm";
</programlisting>
you should change it to:
<programlisting>
services.xserver.displayManager.defaultSession = "xfce+icewm";
</programlisting>
</para>
</listitem>
</itemizedlist>
</section>

Expand Down
3 changes: 1 addition & 2 deletions nixos/lib/testing-python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,8 @@ in rec {
virtualisation.memorySize = 1024;
services.xserver.enable = true;
services.xserver.displayManager.auto.enable = true;
services.xserver.windowManager.default = "icewm";
services.xserver.displayManager.defaultSession = "none+icewm";
services.xserver.windowManager.icewm.enable = true;
services.xserver.desktopManager.default = "none";
};
in
runInMachine ({
Expand Down
3 changes: 1 addition & 2 deletions nixos/lib/testing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,8 @@ in rec {
virtualisation.memorySize = 1024;
services.xserver.enable = true;
services.xserver.displayManager.auto.enable = true;
services.xserver.windowManager.default = "icewm";
services.xserver.displayManager.defaultSession = "none+icewm";
services.xserver.windowManager.icewm.enable = true;
services.xserver.desktopManager.default = "none";
};
in
runInMachine ({
Expand Down
3 changes: 2 additions & 1 deletion nixos/modules/programs/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ let
swayJoined = pkgs.symlinkJoin {
name = "sway-joined";
paths = [ swayWrapped swayPackage ];
passthru.providedSessions = [ "sway" ];
};
in {
options.programs.sway = {
Expand Down Expand Up @@ -88,7 +89,7 @@ in {
fonts.enableDefaultFonts = mkDefault true;
programs.dconf.enable = mkDefault true;
# To make a Sway session available if a display manager like SDDM is enabled:
services.xserver.displayManager.extraSessionFilePackages = [ swayJoined ];
services.xserver.displayManager.sessionPackages = [ swayJoined ];
};

meta.maintainers = with lib.maintainers; [ gnidorah primeos colemickens ];
Expand Down
23 changes: 7 additions & 16 deletions nixos/modules/services/x11/desktop-managers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,14 @@ in
};

default = mkOption {
type = types.str;
default = "";
type = types.nullOr types.str;
default = null;
example = "none";
description = "Default desktop manager loaded if none have been chosen.";
apply = defaultDM:
if defaultDM == "" && cfg.session.list != [] then
(head cfg.session.list).name
else if any (w: w.name == defaultDM) cfg.session.list then
defaultDM
else
builtins.trace ''
Default desktop manager (${defaultDM}) not found at evaluation time.
These are the known valid session names:
${concatMapStringsSep "\n " (w: "services.xserver.desktopManager.default = \"${w.name}\";") cfg.session.list}
It's also possible the default can be found in one of these packages:
${concatMapStringsSep "\n " (p: p.name) config.services.xserver.displayManager.extraSessionFilePackages}
'' defaultDM;
description = ''
<emphasis role="strong">Deprecated</emphasis>, please use <xref linkend="opt-services.xserver.displayManager.defaultSession"/> instead.

Default desktop manager loaded if none have been chosen.
'';
};

};
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/x11/desktop-managers/gnome3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ in
services.gnome3.core-shell.enable = true;
services.gnome3.core-utilities.enable = mkDefault true;

services.xserver.displayManager.extraSessionFilePackages = [ pkgs.gnome3.gnome-session ];
services.xserver.displayManager.sessionPackages = [ pkgs.gnome3.gnome-session ];

environment.extraInit = ''
${concatMapStrings (p: ''
Expand All @@ -171,7 +171,7 @@ in
})

(mkIf flashbackEnabled {
services.xserver.displayManager.extraSessionFilePackages = map
services.xserver.displayManager.sessionPackages = map
(wm: pkgs.gnome3.gnome-flashback.mkSessionForWm {
inherit (wm) wmName wmLabel wmCommand;
}) (optional cfg.flashback.enableMetacity {
Expand Down
8 changes: 4 additions & 4 deletions nixos/modules/services/x11/desktop-managers/pantheon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ in

config = mkIf cfg.enable {

services.xserver.displayManager.extraSessionFilePackages = [ pkgs.pantheon.elementary-session-settings ];
services.xserver.displayManager.sessionPackages = [ pkgs.pantheon.elementary-session-settings ];

# Ensure lightdm is used when Pantheon is enabled
# Without it screen locking will be nonfunctional because of the use of lightlocker
Expand All @@ -81,9 +81,9 @@ in

services.xserver.displayManager.lightdm.greeters.pantheon.enable = mkDefault true;

# If not set manually Pantheon session cannot be started
# Known issue of https://github.com/NixOS/nixpkgs/pull/43992
services.xserver.desktopManager.default = mkForce "pantheon";
# Without this, Elementary LightDM greeter will pre-select non-existent `default` session
# https://github.com/elementary/greeter/issues/368
services.xserver.displayManager.defaultSession = "pantheon";

services.xserver.displayManager.sessionCommands = ''
if test "$XDG_CURRENT_DESKTOP" = "Pantheon"; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ in {
};

config = mkIf cfg.enable {
services.xserver.displayManager.extraSessionFilePackages = [
services.xserver.displayManager.sessionPackages = [
pkgs.surf-display
];

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{ accountsservice
, glib
, gobject-introspection
, python3
, wrapGAppsHook
}:

python3.pkgs.buildPythonApplication {
name = "set-session";

format = "other";

src = ./set-session.py;

dontUnpack = true;

strictDeps = false;

nativeBuildInputs = [
wrapGAppsHook
gobject-introspection
];

buildInputs = [
accountsservice
glib
];

propagatedBuildInputs = with python3.pkgs; [
pygobject3
ordered-set
];

installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/set-session
chmod +x $out/bin/set-session
'';
}
Loading