* Create /etc/shells. KDM in KDE 4.7 requires it.
svn path=/nixos/trunk/; revision=27804
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user