6e7ce112bb
svn path=/nixos/trunk/; revision=27804
23 lines
388 B
Nix
23 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
|
|
'';
|
|
};
|
|
|
|
};
|
|
|
|
}
|