nixpkgs/modules/config/shells.nix
Eelco Dolstra 6e7ce112bb * Create /etc/shells. KDM in KDE 4.7 requires it.
svn path=/nixos/trunk/; revision=27804
2011-07-17 10:45:49 +00:00

24 lines
388 B
Nix

# 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
'';
};
};
}