* Create /etc/shells. KDM in KDE 4.7 requires it.

svn path=/nixos/trunk/; revision=27804
This commit is contained in:
Eelco Dolstra 2011-07-17 10:45:49 +00:00
parent 14636ba057
commit 6e7ce112bb
2 changed files with 24 additions and 0 deletions

23
modules/config/shells.nix Normal file
View file

@ -0,0 +1,23 @@
# This module creates /etc/shells, the file that defines the list of
# permissible login shells for user accounts.
{ config, pkgs, ... }:
with pkgs.lib;
{
config = {
environment.etc = singleton
{ target = "shells";
source = pkgs.writeText "shells"
''
/var/run/current-system/sw/bin/bash
/bin/sh
'';
};
};
}

View file

@ -7,6 +7,7 @@
./config/no-x-libs.nix
./config/nsswitch.nix
./config/power-management.nix
./config/shells.nix
./config/swap.nix
./config/system-path.nix
./config/timezone.nix