| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-11-11 | users: warn users to use `pkgs.bashInteractive` instead of `pkgs.bash` | Michael Hoang | |
| 2024-11-11 | users: assert that `programs.<shell>.enable = true;` for users' shells | Michael Hoang | |
| Backport of https://github.com/NixOS/nixpkgs/pull/211603 and https://github.com/NixOS/nixpkgs/commit/093f354a1777e462bd80398c4fc624c4d383dc68 | |||
| 2024-11-11 | users: remove `lib.` | Michael Hoang | |
| 2024-11-07 | users: don't generate `ensurePerms` when no users to manage | Michael Hoang | |
| 2024-11-07 | users: replace runtime check to prevent deleting `root` with assertion | Michael Hoang | |
| This fixes SC2050 as `${name} == "root"` will be generated as a constant expression. | |||
| 2024-11-07 | treewide: fix shellcheck warnings and errors | Michael Hoang | |
| 2024-11-02 | users: don't check home directory is correct before creating user | Michael Hoang | |
| 2024-10-28 | users: create users with home directory `/var/empty` by default | Michael Hoang | |
| 2024-10-28 | users: remove `users.forceRecreate` option | Michael Hoang | |
| 2024-10-28 | users: fix unclosed string | Michael Hoang | |
| 2024-10-28 | users: remove `with lib;` | Michael Hoang | |
| 2024-10-28 | users: replace FDA check with more fine grained permissions check | Michael Hoang | |
| 2024-10-27 | users: ensure all users' home directories in the config are correct | Michael Hoang | |
| 2024-10-27 | users: move checks to `system.checks` | Michael Hoang | |
| 2024-10-27 | users: allow `shell` to be managed by macOS | Michael Hoang | |
| 2024-10-27 | users: allow `home` to be managed by macOS | Michael Hoang | |
| 2024-10-27 | users: update properties on known users | Michael Hoang | |
| 2024-10-24 | Merge pull request #1118 from Enzime/push-zvvxxryylwxt | Emily | |
| users: ensure users' shells are installed | |||
| 2024-10-24 | users: switch back to using `dscl` for deleting users | Michael Hoang | |
| The previous default behaviour when nix-darwin deletes users is that their home directories are left intact, however as the `-keepHome` flag for `sysadminctl -deleteUser` is broken, we'll need to switch back for now. | |||
| 2024-10-24 | users: ensure Full Disk Access is granted before trying to create users | Michael Hoang | |
| 2024-10-24 | users: add missing newlines for FDA prompt | Michael Hoang | |
| 2024-10-24 | users: prevent deleting the user calling `darwin-rebuild` | Michael Hoang | |
| `sysadminctl -deleteUser` will only prevent you from deleting the current user if it's not the last admin and not the last secure token user, otherwise it will happily oblige. | |||
| 2024-10-24 | users: ensure users' shells are installed | Michael Hoang | |
| 2024-10-23 | users: ensure Full Disk Access is granted before trying to delete users | Michael Hoang | |
| 2024-10-22 | users: change default `description` to `null` | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for group description | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `createhomedir` | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `dscl` paths | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArgs` instead of custom version | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArgs` for `sysadminctl -addUser` | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `sysadminctl -deleteUser` | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `id -u` | Michael Hoang | |
| 2024-10-22 | Use `sysadminctl` instead of `dscl` | Andrew Lubawy | |
| Co-authored-by: Michael Hoang <enzime@users.noreply.github.com> | |||
| 2024-04-19 | treewide: remove lib.mdDoc | Weijia Wang | |
| 2024-03-04 | Merge pull request #821 from qowoz/users | Michael Hoang | |
| users: fix `forceRecreate` bash comparison | |||
| 2024-01-20 | fix: set shell for new users, and only known ones | Hraban Luyat | |
| 2024-01-20 | fix: user shell path handling | Hraban Luyat | |
| 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. | |||
| 2023-12-04 | users: fix `forceRecreate` bash comparison | zowoq | |
| 2023-06-24 | treewide: convert all option docs to Markdown | Emily | |
| 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 | |||
| 2020-09-02 | Remove deprecated types.loaOf | Mario Rodas | |
| 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-02-11 | users: ensure uniqueness of gid/uid entries | Daiderd Jordan | |
| Instead of a cryptic error during activation conflicting ids are now caught during evaluation. error: The option `users.uids.30001' has conflicting definitions | |||
| 2019-02-24 | users: gate the creation with an option, false by default and use createhomedir | Wael M. Nasreddine | |
| 2019-02-24 | users: create/chown the home only when it is different than /var/empty | Wael M. Nasreddine | |
| 2019-02-24 | users: create the home-directory for a new user | Wael M. Nasreddine | |
| 2019-02-23 | users.users: only extend profiles if packages are defined | Daiderd Jordan | |
| 2019-02-21 | order the environment | Wael M. Nasreddine | |
| 2019-02-20 | users: install user packages via users.users.<name?>.packages | Wael M. Nasreddine | |
| 2018-06-22 | users: add forceRecreate option | Daiderd Jordan | |
| 2018-03-03 | users: update the description for knownGroups/knownUsers | Daiderd Jordan | |
| 2018-01-14 | users: add support for group members | Daiderd Jordan | |
| Unlike user options this is updated if the group already exists. | |||
