2011-07-17 12:45:49 +02: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"
|
|
|
|
''
|
2012-07-16 17:27:59 +02:00
|
|
|
/run/current-system/sw/bin/bash
|
2011-07-17 12:45:49 +02:00
|
|
|
/var/run/current-system/sw/bin/bash
|
|
|
|
/bin/sh
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2011-09-14 20:20:50 +02:00
|
|
|
};
|
2011-07-17 12:45:49 +02:00
|
|
|
|
|
|
|
}
|