1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
Commit graph

1921 commits

Author SHA1 Message Date
Michael Hoang
095ba5502c default: expose all the darwin-* commands
Change `uninstaller` to `darwin-uninstaller` to match flake attribute
2024-11-21 11:15:28 +11:00
Michael Hoang
d57e74864b uninstaller: always specify --extra-experimental-features first
See https://github.com/NixOS/nix/issues/11891
2024-11-21 11:07:47 +11:00
Michael Hoang
2ca27ba780 ci: source /etc/bashrc instead of /etc/static/bashrc
This should no longer be necessary after #687, as we can be sure that if
activation succeeded, that `/etc/bashrc` points to `/etc/static/bashrc`.
2024-11-21 11:07:47 +11:00
Michael Hoang
9fe8a0a738 ci: check that switching to new configurations works after installation 2024-11-21 11:07:47 +11:00
Michael Hoang
a4d4d12e38 examples: change default architecture to aarch64-darwin 2024-11-21 11:07:47 +11:00
Michael Hoang
3c27b08740 readme: update Documentation section 2024-11-21 11:07:47 +11:00
Michael Hoang
60ed03d0b1 installer: remove 2024-11-21 11:07:47 +11:00
Michael Hoang
62f9402af0 readme: add using nix-darwin section for non-flakes 2024-11-21 11:07:47 +11:00
Michael Hoang
65ea368ebb installer: move channel creation to README 2024-11-21 11:07:47 +11:00
Michael Hoang
9a1bea70d5 installer: move creating default configuration to README 2024-11-21 11:07:47 +11:00
Michael Hoang
5cc3c00f9b readme: move sections under new Channels section 2024-11-21 11:07:47 +11:00
Michael Hoang
57c144515a system: always add /run to /etc/synthetic.conf on macOS 10.15 onwards
Currently if nix-darwin is uninstalled then reinstalled without
rebooting, then the `/run` symlink will still remain and nix-darwin
won't readd `run` to `/etc/synthetic.conf` meaning the system will be
broken on next reboot.
2024-11-21 10:13:16 +11:00
Michael Hoang
61cee20168
Merge pull request #1178 from isabelroses/fix/checks/homebrew
fix: allow users to disable the homebrew check
2024-11-19 11:42:17 +00:00
isabel
fece297d64
fix: allow users to disable the homebrew check 2024-11-19 10:11:23 +00:00
Emily
c60b5c924c
Merge pull request #1179 from teekennedy/master
manualHTML: support --redirects option in nixos-render-docs
2024-11-17 23:18:20 +00:00
Terrance Kennedy
4720d452f8
manualHTML: support --redirects option in nixos-render-docs 2024-11-17 14:19:36 -07:00
Michael Hoang
34588d57cf
Merge pull request #879 from jtt9340/spaces-in-nixpath
fix broken NIX_PATH if paths contain spaces
2024-11-17 02:04:32 +00:00
Michael Hoang
2bcef10f43
Merge pull request #1164 from Enzime/push-yyusnrnkwkxu
nix-daemon: enable by default
2024-11-16 14:42:50 +00:00
Michael Hoang
ec5fce6061 uninstaller: check nix-daemon works after restoring 2024-11-17 01:11:27 +11:00
Michael Hoang
e07f08c0dc uninstaller: fix restoring nix-daemon launchd daemon 2024-11-17 01:11:27 +11:00
Michael Hoang
6d20de4ed6 nix: remove outdated note requiring managed daemon for distributedBuilds
For Nix 1, some environment variables were set when using distributed
builds requiring the Nix daemon to be managed by nix-darwin. However,
support for Nix 1 has been removed and no other environment variables
for Nix are set by default.
2024-11-17 01:11:27 +11:00
Michael Hoang
7918e24e5b treewide: remove nix.package example 2024-11-17 01:11:27 +11:00
Michael Hoang
6d794390fa checks: check single user installs don't have the nix-daemon enabled
Remove suggestion to set `nix.useDaemon` as it came without an
explanation of how the `nix-daemon` would be unmanaged and would most
likely lead to most users running an old version of Nix as the daemon.
2024-11-16 23:19:11 +11:00
Michael Hoang
5d1b7ac696 treewide: remove mentions of services.nix-daemon.enable = true; 2024-11-16 23:19:11 +11:00
Michael Hoang
698414e409 nix-daemon: enable by default
Single user installs have been unsupported by the official Nix installer
since 2.4.
2024-11-16 23:19:11 +11:00
Michael Hoang
d2498644fd nix-daemon: remove with lib; 2024-11-16 23:19:11 +11:00
Michael Hoang
f86f158efd
Merge pull request #1169 from Enzime/push-uktzylymvtyk
activate-system: remove `enable` option
2024-11-15 03:53:49 +00:00
Michael Hoang
dae702993d activate-system: remove enable option
Disabling this is not supported as `/run` gets cleared out on every
reboot so it is necessary for ensuring that the `/run/current-system`
symlink exists.
2024-11-15 14:10:48 +11:00
Joey Territo
9077d812d8 activate-user script: fix broken NIX_PATH if paths contain spaces 2024-11-13 22:24:48 -06:00
Michael Hoang
6c71c49e24
Merge pull request #961 from codingCoffee/homebrewcheck
feat: check if homebrew exists
2024-11-12 23:33:43 +00:00
Ameya Shenoy
67fbc7aa24 checks: add check to ensure Homebrew is installed
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2024-11-13 09:53:17 +11:00
Michael Hoang
839fd2a2b5
Merge pull request #1162 from Enzime/push-ovqpxpsqkwvp
users: ensure `programs.<shell>.enable = true;` for users' shells
2024-11-12 22:25:20 +00:00
Michael Hoang
e30d226a24
Merge pull request #1163 from LucasMendesl/feature/controlcenter
defaults: add `controlcenter` and other options
2024-11-12 15:13:14 +00:00
Lucas Mendes Loureiro
32df51bf2b fix(defaults): fixing #1107 2024-11-12 14:37:26 +00:00
Lucas Mendes Loureiro
d71aa30b41 feat(defaults): adding support to control center 2024-11-12 09:48:21 +00:00
Michael Hoang
2bacd8db31 environment: fix lowPrio support in environment.systemPackages 2024-11-11 15:24:19 +11:00
Michael Hoang
8b27551e09 users: warn users to use pkgs.bashInteractive instead of pkgs.bash 2024-11-11 15:24:19 +11:00
Michael Hoang
5eb88645f7 users: assert that programs.<shell>.enable = true; for users' shells
Backport of https://github.com/NixOS/nixpkgs/pull/211603 and 093f354a17
2024-11-11 15:19:41 +11:00
Michael Hoang
c2c88ae983 users: remove lib. 2024-11-11 15:10:46 +11:00
Emily
5c74ab862c
Merge pull request #1157 from Enzime/read-me
readme: small improvements
2024-11-09 12:04:29 +00:00
Michael Hoang
5e9e8e7924
Merge pull request #1159 from Enzime/push-ksqroxyztptt
docs: misc fixes
2024-11-09 11:27:47 +00:00
Michael Hoang
5a1ae6a6e4 readme: add prerequisites section 2024-11-09 22:26:53 +11:00
Michael Hoang
050b7db445 installer: don't tell users to source bashrc
Fixes #380
2024-11-09 22:00:43 +11:00
Michael Hoang
2fe3de580e readme: fix badge 2024-11-09 22:00:43 +11:00
Michael Hoang
ae09d7ba52 readme: remove outdated instructions for manually managing /etc/bashrc 2024-11-09 22:00:43 +11:00
Michael Hoang
534ca06930 docs: use nix-darwin instead of Darwin 2024-11-09 21:51:15 +11:00
Michael Hoang
293589065d ci: fix manual not being regenerated when non-Nix files are updated
This also fixes the README not being updated on the website as well
2024-11-09 21:28:09 +11:00
Michael Hoang
3c4a2b1150
Merge pull request #1158 from Enzime/push-xqtwkopwkvpu
ci: don't override nixpkgs when building the manual
2024-11-09 10:06:57 +00:00
Michael Hoang
a89c851923 ci: don't override nixpkgs when building the manual
This causes `nix-darwin` to not have `rev` or `dirtyRev`
2024-11-09 20:37:50 +11:00
Michael Hoang
814f2c2ab4
Merge pull request #1149 from Enzime/push-lorzxpskntmx
flake: expose docs on Linux as well
2024-11-09 09:22:32 +00:00