mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
eb6e1310b8
svn path=/nixos/trunk/; revision=29285
23 lines
386 B
Nix
23 lines
386 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
|
|
'';
|
|
};
|
|
|
|
};
|
|
|
|
}
|