summary refs log tree commit diff
path: root/modules/config/shells.nix
blob: 6286223752a90693a577bd648cf3ea5154e5464b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
          '';
      };

  };

}