1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 16:27:03 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Hraban Luyat
f1d47fc2dd fix: set shell for new users, and only known ones 2024-01-20 11:03:15 -05:00
Hraban Luyat
888533c35f fix: user shell path handling
Properly detect the binary name (not just /nix/store/...-bash, but include the
.../bin/bash), and use the symlinked name which also appears in /etc/shells.
2024-01-20 11:03:15 -05:00
Emily
e65131e69c treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.

As of this commit there is no DocBook remaining in the options
documentation.

You can play along at home if you want to reproduce this commit:

    $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
      nix shell nixpkgs#coreutils \
      -c find . -name '*.nix' \
      -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
      {} +

[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00
Mario Rodas
a34dea283c Remove deprecated types.loaOf
types.loaOf has been deprecated for a long time and is now in the
process of removal. See: https://github.com/NixOS/nixpkgs/pull/96042
2020-09-02 04:20:00 +00:00
Daiderd Jordan
3d50598ae0
users: ensure uniqueness of gid/uid entries
Instead of a cryptic error during activation conflicting ids are now
caught during evaluation.

    error: The option `users.uids.30001' has conflicting definitions
2020-02-11 16:41:40 +01:00
Wael M. Nasreddine
41a00f14b4
users: gate the creation with an option, false by default and use createhomedir 2019-02-24 22:13:45 +01:00
Wael M. Nasreddine
7c68f69154
users: create/chown the home only when it is different than /var/empty 2019-02-24 22:06:45 +01:00
Wael M. Nasreddine
303c5fbb00
users: create the home-directory for a new user 2019-02-24 22:06:37 +01:00
Daiderd Jordan
6c6c8f2164
users.users: only extend profiles if packages are defined 2019-02-23 12:00:39 +01:00
Wael M. Nasreddine
5e6570c07c
order the environment 2019-02-21 15:57:51 -08:00
Wael M. Nasreddine
4ffabd184a
users: install user packages via users.users.<name?>.packages 2019-02-20 08:20:32 -08:00
Daiderd Jordan
c1a1ac273d
users: add forceRecreate option 2018-06-22 12:16:51 +02:00
Daiderd Jordan
055287cf98
users: update the description for knownGroups/knownUsers 2018-03-03 13:51:48 +01:00
Daiderd Jordan
b1645201f1
users: add support for group members
Unlike user options this is updated if the group already exists.
2018-01-14 13:26:18 +01:00
Daiderd Jordan
3db35e87f0
users: move submodules to separate files 2018-01-13 13:52:30 +01:00