| 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-09 | docs: use `nix-darwin` instead of `Darwin` | Michael Hoang | |
| 2024-11-09 | Merge pull request #1154 from Samasaur1/zshenv-rcs | Michael Hoang | |
| zsh: only run shell initialization in /etc/zshenv when RCs are enabled | |||
| 2024-11-07 | zsh: only run shell initialization in /etc/zshenv when RCs are enabled | Sam | |
| 2024-11-08 | nix: don't allow using `auto-optimise-store` as it can corrupt the store | Michael Hoang | |
| 2024-11-07 | github-runner: Fix labels for different nixpkgs versions | Yuriy Taraday | |
| Changes to escapeShellArg introduced in https://github.com/NixOS/nixpkgs/pull/333744 made different versions of nixpkgs behave differently. If current nix-darwin is used with nixpkgs before that change, labels end up having labels quoted twice (see https://github.com/LnL7/nix-darwin/issues/1085), but without changes from https://github.com/LnL7/nix-darwin/pull/1055, with new nixpkgs, labels end up not quoted at all, and ShellCheck ends up complaining that commas might have been used as array item separator (see https://www.shellcheck.net/wiki/SC2054). Use the old version of escapeShellArg to always escape the list of labels and make nix-darwin work with both old and new versions of nixpkgs. Fixes https://github.com/LnL7/nix-darwin/issues/1085 | |||
| 2024-11-07 | buildkit-agents: don't use `mkdir -p -m` | Michael Hoang | |
| As `cfg.dataDir` will be the `home` of the Buildkite Agent user, it is guaranted to exist so we don't need to use the `-p` flag. | |||
| 2024-11-07 | github-runner: replace `mkdir -p -m` with `umask` | Michael Hoang | |
| `mkdir -p -m` only applies the mode on the deepest directory which could be a security issue so we use umask to be more careful. | |||
| 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 | system: replace `for f in $(ls ...)` with `for f in .../*` | Michael Hoang | |
| Fixes SC2045 but has one quirk which is if the bash glob doesn't match anything it'll treat it as a string and run the loop once with `f=.../*` so we need to check that `$f` actually exists. | |||
| 2024-11-07 | treewide: fix shellcheck warnings and errors | Michael Hoang | |
| 2024-11-07 | checks: move manual `/run` instructions to activation | Michael Hoang | |
| 2024-11-07 | system: run `shellcheck` on `activate` and `activate-user` scripts | Michael Hoang | |
| 2024-11-07 | examples: clean up | Michael Hoang | |
| 2024-11-07 | examples: drop `ofborg` example | Michael Hoang | |
| We decided to drop this example as the package is not available in Nixpkgs and we won't be able to import it easily and keep this example evaluating as a useful smoke test. The code in this example is already documented under `services.ofborg.*` so any interested users can still find out how to set up `ofborg`. | |||
| 2024-11-07 | ofborg: automatically add `ofborg` to `known{Users,Groups}` | Michael Hoang | |
| 2024-11-07 | examples: fix evaluation | Michael Hoang | |
| 2024-11-06 | Merge pull request #909 from motheki/fast-syntax-highlighting-support | Michael Hoang | |
| Add support for zsh-fast-syntax-highlighting | |||
| 2024-11-06 | Update modules/programs/zsh/default.nix | Trevor Opiyo | |
| Changes added by Enzime Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com> | |||
| 2024-11-05 | Update default.nix | Trevor Opiyo | |
| Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com> | |||
| 2024-11-05 | prometheus-node-exporter: fix log permissions | Emily | |
| The daemon won’t start as the assigned user doesn’t have permissions to create the log file. | |||
| 2024-11-05 | Merge pull request #1145 from qowoz/shellcheck-timezone | Michael Hoang | |
| time: shellcheck fix | |||
| 2024-11-05 | time: shellcheck fix | zowoq | |
| https://www.shellcheck.net/wiki/SC2143 | |||
| 2024-11-04 | Merge pull request #1129 from mweinelt/node-exporter | Emily | |
| module: add prometheus-node-exporter service | |||
| 2024-11-03 | Merge pull request #1125 from aschleck/new-window-path | Michael Hoang | |
| Configure the folder that new Finder windows open | |||
| 2024-11-03 | Merge pull request #1130 from aschleck/fn-key | Michael Hoang | |
| Allow configuring the fn key action | |||
| 2024-11-02 | Merge pull request #1135 from Enzime/push-lxwqqpssklyn | Emily | |
| environment: remove misleading `environment.loginShell` option | |||
| 2024-11-02 | Allow configuring the fn key action | April Schleck | |
| 2024-11-02 | Configure the folder that new Finder windows open | April Schleck | |
| 2024-11-02 | users: don't check home directory is correct before creating user | Michael Hoang | |
| 2024-11-01 | Merge pull request #1133 from bew/patch-1 | Michael Hoang | |
| karabiner-elements: allow use of custom package | |||
| 2024-10-31 | karabiner-elements: allow use of custom package | Benoît de Chezelles | |
| 2024-10-31 | tmux: remove `programs.tmux.defaultCommand` | Michael Hoang | |
| 2024-10-31 | environment: remove misleading `environment.loginShell` option | Michael Hoang | |
| 2024-10-31 | zsh: enable by default as zsh is the default shell on macOS | Michael Hoang | |
| Historically this was a footgun because users would not always have this enabled leading to `darwin-rebuild` and other programs not being found. | |||
| 2024-10-31 | module: add prometheus-node-exporter service | Martin Weinelt | |
| 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: change default shell to `/usr/bin/false` to match 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 | |
