This change does two things:
* "NixOSizes" environment variables generation. This allows some more
error-checking and opens possibilities for a modular environment
configuration. From now on the most of environment variables are
generated directly by the nix code. Generating sh code that
generates environment variables is left in a few places where
nontrivial access to a local environment state is needed.
* By doing the first change this patch untangles bash from the
environment configuration and makes it trivial to add a support for
other non bash-compatible shells.
Now to the sad part. This change is quite large (and I'm not sure it's
possible to split it) and yet is not quite complete, it needs some
changes to nixpkgs to be perfect.
See !!! comments in modules/config/shells-environment.nix.
Main principle behind this change is "change environment generation
and nothing else". In particular, shell configuration principles stay
exactly the same as before.
I.e., modules that use "require = [options]". Nowadays that should be
written as
{
options = { ... };
config = { ... };
};
Also, use "imports" instead of "require" in places where we actually
import another module.
desktop-manager is a bit misleading in this case as there is no
session yet and most apps are still missing. This can eventually
grow further once more e17 apps get packaged for nix.
However, for now, I need to initialize some e17 dbus services to
have the "terminology" terminal emulator provide gfx previews.
Enabling udisks2 allows gvfs (which should be built with udisks support) to
perform mount/unmount operations on removable drives. It affects Thunar and
probably other Gtk-based file managers.
Gvfs doesn't supports earlier versions of udisks.
(e.g. segfaults whn loggin in to the NixOS graphical ISO) and don't
really work very well (e.g. fail to find files). They can be
re-enabled in the KDE System Settings.
svn path=/nixos/trunk/; revision=30155
Previously, this was only enabled in the KDM module, so if you were
using a different display manager than KDM, stuff like getting out
of the screensaver didn't work correctly.
svn path=/nixos/trunk/; revision=30049
You now get a nice popup window asking for the appropriate password
if you try to do something that requires administrative privilege
(e.g. "pkexec ls" in a terminal, unmounting devices that don't
belong to you in Dolphin, or killing other people's processes in
ksysguard).
svn path=/nixos/trunk/; revision=28735
checking function arguments, so DBUS_FATAL_WARNINGS=0 is necessary
to prevent KDE from aborting. Also put the Phonon gstreamer backend
in the environment if available.
svn path=/nixos/trunk/; revision=28113
to be rerouted to PulseAudio.
Note that this is distinct from the already existing module
‘services/audio/pulseaudio.nix’ that provides a system-wide
PulseAudio daemon, which is usually not what you want.
svn path=/nixos/trunk/; revision=27958
enabled by modules that need it (KDE < 4.7, Xfce).
* Don't enable the PolicyKit module by default either, it's also
obsolete (replaced by PolKit). It's still enabled if HAL is
enabled.
svn path=/nixos/trunk/; revision=27933