summaryrefslogtreecommitdiff
path: root/modules/system
AgeCommit message (Collapse)Author
2025-01-14checks: recommend `sudo nix-channel`Emily
2025-01-11version: implement nix-darwin release versionsEmily
2025-01-04power: quote in string triggered shellcheck SC2016gnammix
2025-01-04Merge pull request #1241 from gnammix/power_conditional_setRestartPowerFailureMichael Hoang
power: restartAfterPowerFailure option is carried out conditionally
2024-12-31power: echo to print in error messagesgnammix
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-12-29power: move the check for restartPowerfailure support to checks.nixgnammix
2024-12-29refactor: use enum as option typeFilip Kania
2024-12-29feat: add screencapture.target optionFilip Kania
2024-12-01defaults: expose-group-by-app -> expose-group-appsAustin Horstman
Default was renamed in previous macOS release.
2024-12-01defaults: add `EnableTiledWindowMargins` optionBeta-Computer
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-11-25system: fix detection and ownership of /etc/synthetic.confAiden Scandella
This file is owned by root and mode 600 on my system, so the grep is failing and it's adding a new entry every run. ```sh -rw------- 1 root wheel 664 Nov 25 15:52 /etc/synthetic.conf ```
2024-11-21system: always add /run to /etc/synthetic.conf on macOS 10.15 onwardsMichael Hoang
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-19fix: allow users to disable the homebrew checkisabel
2024-11-17Merge pull request #879 from jtt9340/spaces-in-nixpathMichael Hoang
fix broken NIX_PATH if paths contain spaces
2024-11-16checks: check single user installs don't have the `nix-daemon` enabledMichael Hoang
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-13activate-user script: fix broken NIX_PATH if paths contain spacesJoey Territo
2024-11-13checks: add check to ensure Homebrew is installedAmeya Shenoy
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2024-11-12fix(defaults): fixing #1107Lucas Mendes Loureiro
2024-11-12feat(defaults): adding support to control centerLucas Mendes Loureiro
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-03Merge pull request #1125 from aschleck/new-window-pathMichael Hoang
Configure the folder that new Finder windows open
2024-11-02Allow configuring the fn key actionApril Schleck
2024-11-02Configure the folder that new Finder windows openApril Schleck
2024-10-27users: move checks to `system.checks`Michael Hoang
2024-10-27users: allow `shell` to be managed by macOSMichael Hoang
2024-10-24power,sleep: Add options to control restart and sleep behaviorPhilip Børgesen
2024-10-20Merge pull request #992 from emmceemoore/software-update-fixMichael Hoang
Use the correct file location for `SoftwareUpdate` plist.
2024-10-09defaults: don't output Dock PIDMichael Hoang
2024-09-30fix: remove deprecated lib.mdDocisabel
2024-09-29Merge pull request #1094 from rogeruiz/rogeruiz/add-slow-motion-allowed-for-dockMichael Hoang
Adding option for slow-motion-allowed
2024-09-28Adding option for slow-motion-allowed;Roger Steve Ruiz
This was inspired by a recent Daring Fireball post where I was reminded about this feature and how it's missing from being able to configure it in Nix-Darwin. [https://daringfireball.net/linked/2024/09/28/hidden-pref-to-restore-slow-motion-dock-minimizing-on-macos]()
2024-09-19Merge pull request #1057 from niklasravnsborg/masterMichael Hoang
Adjust default options
2024-09-18Merge pull request #1084 from emilazy/push-xysppwqymotuEmily
checks: show Sequoia migration commands for other installers
2024-09-17checks: show Sequoia migration commands for other installersEmily
This is hopefully largely cosmetic, but should increase user confidence in the safety and effectiveness of the migration, and the Determinate Systems and Lix installer commands will also update the `/nix/receipt.json` files to match the changes made. They cannot properly handle the format of each other’s receipts, so we need to detect which was used.
2024-09-16fix description typo in `dock.nix`Niklas Ravnsborg
2024-09-16add `finder._FXSortFoldersFirst` optionNiklas Ravnsborg
2024-09-16add `NSGlobalDomain.AppleSpacesSwitchOnActivate` optionNiklas Ravnsborg
2024-09-12version: make `system.stateVersion` mandatoryEmily
When testing the Sequoia UID change, I discovered that @mjm didn’t have `system.stateVersion` set; I suspect this is not too uncommon. Let’s make it required now, like NixOS is trying to, to improve our backwards‐compatibility story in anticipation of starting to cut release branches.
2024-09-11{ids,checks}: update for new builder UID/GID valuesEmily
2024-09-11checks: make `oldBuildUsers` check fail hardEmily
Checking for the Sequoia stuff won’t work properly if a system is still in this old state. Best to be loud about it to deal with any straggler systems that haven’t yet dealt with this issue.
2024-09-11checks: factor out `nix.useDaemon` checkEmily
2024-09-10checks.nix: fix typonatsukium
2024-08-17Merge pull request #1026 from thecaralice/nochanMichael Hoang
Allow disabling channels
2024-08-17feat: allow disabling channelsAlice Carroll
2024-08-05(feature) Add swapLeftCtrlAndFnMaxime Daffis
Use this and never find yourself again hitting fn because of muscle memory! (you can even physically swap the keycaps, at least on M series) Keycodes have been pulled from https://hidutil-generator.netlify.app/ and the hex value has been converted to a base 10 int.
2024-08-02(feature) Add Stage Manager (com.apple.WindowManager) settings as ↵Maxime Daffis
system.defaults.windowmanager All credits go to @AlexOwl. Their [PR](https://github.com/LnL7/nix-darwin/pull/505) looked abandonned so I reported their changes and addressed the change requests.
2024-07-31Merge pull request #1018 from Enzime/fix/github-runners-work-dirEmily
github-runners: move `workDir` outside of `/run`