mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 04:28:40 +03:00
* Create /etc/shells. KDM in KDE 4.7 requires it.
svn path=/nixos/trunk/; revision=27804
This commit is contained in:
parent
14636ba057
commit
6e7ce112bb
23
modules/config/shells.nix
Normal file
23
modules/config/shells.nix
Normal file
@ -0,0 +1,23 @@
|
||||
# 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
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -7,6 +7,7 @@
|
||||
./config/no-x-libs.nix
|
||||
./config/nsswitch.nix
|
||||
./config/power-management.nix
|
||||
./config/shells.nix
|
||||
./config/swap.nix
|
||||
./config/system-path.nix
|
||||
./config/timezone.nix
|
||||
|
Loading…
Reference in New Issue
Block a user