Skip to content

Commit

Permalink
tweak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed May 22, 2024
1 parent f99387b commit 1c9cfa3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Noshell is a simple shim that executes `$XDG_CONFIG_HOME/shell` as your login shell.
If you configure noshell system-wide, users can configure their login shell with
a simple `ln -sT /path/to/zsh ~/.config/shell`, instead of requiring
superuser permissions to modify `/etc/passwd` and `/etc/shells`.
superuser permissions to modify `/etc/shells`.

By default, noshell checks the following locations in the order:

Expand All @@ -23,3 +23,13 @@ programs.noshell.enable = true
```

Noshell will be configured as the default shell to **ALL** users.

## Why?

Noshell enables some patterns in the NixOS ecosystem, such as:

- Using a shell with a configuration wrapper. As the wrapper is a different program
that is not present in `/etc/shells`.
- User-level configuration of the login shell with home-manager.

It can be useful too outside of NixOS, for example to use a custom build of some shell.

0 comments on commit 1c9cfa3

Please sign in to comment.