2011-07-17 11:45:49 +01:00
|
|
|
# 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
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2011-09-14 19:20:50 +01:00
|
|
|
};
|
2011-07-17 11:45:49 +01:00
|
|
|
|
|
|
|
}
|