summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-09readme: add prerequisites sectionMichael Hoang
2024-11-09installer: don't tell users to source bashrcMichael Hoang
Fixes #380
2024-11-09readme: fix badgeMichael Hoang
2024-11-09readme: remove outdated instructions for manually managing `/etc/bashrc`Michael Hoang
2024-11-09docs: use `nix-darwin` instead of `Darwin`Michael Hoang
2024-11-09ci: fix manual not being regenerated when non-Nix files are updatedMichael Hoang
This also fixes the README not being updated on the website as well
2024-11-09Merge pull request #1158 from Enzime/push-xqtwkopwkvpuMichael Hoang
ci: don't override nixpkgs when building the manual
2024-11-09ci: don't override nixpkgs when building the manualMichael Hoang
This causes `nix-darwin` to not have `rev` or `dirtyRev`
2024-11-09Merge pull request #1149 from Enzime/push-lorzxpskntmxMichael Hoang
flake: expose docs on Linux as well
2024-11-09manual: get revision information when called from flakeMichael Hoang
2024-11-09flake: expose docs on Linux as wellMichael Hoang
2024-11-09Merge pull request #1154 from Samasaur1/zshenv-rcsMichael Hoang
zsh: only run shell initialization in /etc/zshenv when RCs are enabled
2024-11-07zsh: only run shell initialization in /etc/zshenv when RCs are enabledSam
2024-11-08Merge pull request #1152 from Enzime/push-rvwwkktwykytMichael Hoang
nix: don't allow using `auto-optimise-store` as it can corrupt the store
2024-11-08nix: don't allow using `auto-optimise-store` as it can corrupt the storeMichael Hoang
2024-11-07Merge pull request #1141 from Enzime/push-yxmxmspuootoEmily
uninstaller: improve
2024-11-07Merge pull request #1143 from YorikSar/fix-github-runner-labelsMichael Hoang
github-runner: Fix labels for different nixpkgs versions
2024-11-07github-runner: Fix labels for different nixpkgs versionsYuriy 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-07ci: fix uninstaller failing to run in `install-against-unstable`Michael Hoang
2024-11-07uninstaller: check `nix-daemon` was correctly reinstalledMichael Hoang
2024-11-07ci: test uninstallation of nix-darwin using flakesMichael Hoang
2024-11-07uninstaller: switch to `writeShellApplication`Michael Hoang
By not defining a `shellHook`, `nix-shell -A uninstaller` and `nix-shell -A uninstaller.check` no longer work.
2024-11-07uninstaller: restore `*.before-nix-darwin` filesMichael Hoang
Fixes https://github.com/LnL7/nix-darwin/issues/911 Fixes https://github.com/LnL7/nix-darwin/issues/912
2024-11-07uninstaller: reset any shells pointing to `/run/current-system/sw/bin`Michael Hoang
2024-11-07uninstaller: remove unnecessary attempt to delete `nix-daemon`Michael Hoang
Fixes https://github.com/LnL7/nix-darwin/issues/910
2024-11-07uninstaller: remove `/run` symlinkMichael Hoang
2024-11-07Merge pull request #1139 from Enzime/push-ssqvumruwtmyMichael Hoang
system: run `shellcheck` on `activate` and `activate-user` scripts
2024-11-07buildkit-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-07github-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-07users: don't generate `ensurePerms` when no users to manageMichael Hoang
2024-11-07users: replace runtime check to prevent deleting `root` with assertionMichael Hoang
This fixes SC2050 as `${name} == "root"` will be generated as a constant expression.
2024-11-07system: 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-07treewide: fix shellcheck warnings and errorsMichael Hoang
2024-11-07checks: move manual `/run` instructions to activationMichael Hoang
2024-11-07system: run `shellcheck` on `activate` and `activate-user` scriptsMichael Hoang
2024-11-07Merge pull request #1140 from Enzime/aarch64-testsEmily
release: fix tests not running on `aarch64-darwin`
2024-11-07examples: clean upMichael Hoang
2024-11-07ci: upgrade `actions/checkout`Michael Hoang
2024-11-07ci: remove unused workflowsMichael Hoang
2024-11-07ci: run nix flake checkMichael Hoang
2024-11-07flake: expose `jobs` from `release.nix` as a flattened attrsetMichael Hoang
2024-11-07examples: drop `ofborg` exampleMichael 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-07ofborg: automatically add `ofborg` to `known{Users,Groups}`Michael Hoang
2024-11-07examples: fix evaluationMichael Hoang
2024-11-07release: remove unnecessary use of `release-lib`Michael Hoang
2024-11-07release: rename `release` to `release-lib` to match NixOSMichael Hoang
https://github.com/NixOS/nixpkgs/blob/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53/pkgs/top-level/release.nix#L56-L58
2024-11-07release: remove package jobsMichael Hoang
2024-11-07release: remove `unstable` jobMichael Hoang
This job is actually in Nixpkgs at https://github.com/NixOS/nixpkgs/blob/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53/pkgs/top-level/release.nix#L90-L139.
2024-11-07release: fix tests not running on `aarch64-darwin`Michael Hoang
2024-11-06Merge pull request #909 from motheki/fast-syntax-highlighting-supportMichael Hoang
Add support for zsh-fast-syntax-highlighting