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 e1b82fd commit 35231e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ Add this flake's `nixosModules.default` to your NixOS imports, and set:
programs.noshell.enable = true
```

Noshell will be configured as the default shell to **ALL** users.
Noshell will be configured as the default shell to **ALL** users. You might want to
disable noshell for some user as a fallback, like `users.users.root.shell = pkgs.bashInteractive;`.

## 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`. See https://github.com/viperML/wrapper-manager .
that is not present in `/etc/shells`. See [https://github.com/viperML/wrapper-manager](https://github.com/viperML/wrapper-manager).
- User-level configuration of the login shell with home-manager (`xdg.configFile."shell".source = lib.getExe pkgs.nushell;`)

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

0 comments on commit 35231e9

Please sign in to comment.