summaryrefslogtreecommitdiff
path: root/modules/system
AgeCommit message (Collapse)Author
2020-01-15Merge pull request #182 from wildsebastian/fix_commitIdFromGitRepo_callDaiderd Jordan
Remove trailing slash from path in commitIdFromGitRepo call
2020-01-15Remove trailing slash from pathSebastian Wild
A change of `commitIdFromGitRepo` in nixpkgs/lib/sources.nix resulted in the error message "attribute '.git' missing at nixpkgs/lib/sources.nix:7:32" when executing darwin-rebuils switch. The commit with the change is https://github.com/NixOS/nixpkgs/commit/c9214c394b248e1f26e45dbe1be2bd82363af3a6 Removing the trailing slash resolves the error.
2020-01-01defaults: introduce NSGlobalDomain option for "_HIHideMenuBar"cmacrae
2019-11-04fix autologin name docsSimon Holywell
2019-11-04adds com.apple.SoftwareUpdateSimon Holywell
2019-11-04adds com.apple.loginwindowSimon Holywell
2019-11-04adds com.apple.spacesSimon Holywell
2019-11-04adds com.apple.alfSimon Holywell
2019-11-04adds com.apple.sound.beep.feedbackSimon Holywell
2019-11-04adds com.apple.sound.beep.volumeSimon Holywell
2019-09-01Merge pull request #155 from toonn/defaults-write-GlobalPreferencesDaiderd Jordan
Add defaults write for the alert sound
2019-08-19Add defaults write for the alert soundtoonn
Found in `System Preferences`->`Sound`->`Sound Effects`, the default is `Funk`.
2019-07-22Allow configuring external keyboard to use standard F-keysJason Felice
2019-07-01launchd: don't disable services when unloadingDaiderd Jordan
2019-07-01nix: check nix.useDaemon valueDaiderd Jordan
This case will cause problems when existing files in /etc are replaced instead of skipped with a warning, potentially breaking the nix install in the process.
2019-07-01nix: fix useDaemon conditionsDaiderd Jordan
The nix.useDaemon option enables using a multi-user install without managing the nix installation with nix-darwin. The following checks apply to both cases.
2019-06-05activation-scripts: create /runDaiderd Jordan
In case this was removed or not bootstrapped by the installer.
2019-06-05version: fix descriptionDaiderd Jordan
2019-05-04version: add default darwinRevisionDaiderd Jordan
There's no channel for darwin so this can be unavailable if a tarball or shallow clone is used.
2019-05-04version: include darwin metadata in system labelDaiderd Jordan
This makes it possible to trace back what version of both darwin and nixpkgs the system was built with.
2019-05-04documentation: add module for darwin manualDaiderd Jordan
Fixes #72
2019-05-01nix: make nix.nixPath merge by defaultDaiderd Jordan
Since named entries can be overridden now based on ordering now merging is only a problem for removing one of the default search paths, in which case a higher priority eg. mkForce can be used. { nix.nixPath = [{ darwin-config = "/darwin.nix"; }]; } Will result in [ "darwin-config=/darwin.nix" "/nix/var/nix/profiles/per-user/root/channels" "$HOME/.nix-defexpr/channels" ] Fixes #137
2019-03-22Merge pull request #132 from ben-z/add-defaults-configsDaiderd Jordan
Add defaults configs
2019-03-22launchd: ensure user LaunchAgents existDaiderd Jordan
Apparently this doesn't exist by default, so make sure it's created first. Fixes #134
2019-03-02Add NSGlobalDomain configsBen Zhang
2019-03-02add trackpad configs: ActuationStrength, FirstClickThreshold, ↵Ben Zhang
SecondClickThreshold
2019-02-24darwin: replace usages of nix-instantiate --eval with --find-fileDaiderd Jordan
2019-02-23Merge pull request #121 from thefloweringash/channel-version-infoDaiderd Jordan
system-version: get version information from channels
2019-02-17fonts: rewrite activationDaiderd Jordan
The new implementation is a bit smarter and only updates fonts that changed. But more importantly /run/current-system isn't used anymore which breaks initial activation and installs the previous set of fonts instead of the one in the new system. Fixes #115
2019-01-19system-version: get version information from channelsAndrew Childs
2019-01-04checks: actually fix gc conditionDaiderd Jordan
Introduced in 28710738a3ca7c9a16d63b89c904588d030edf01, the check should _only_ run if the user is not configured not the other way around.
2019-01-03nix-gc: fix evaluationDaiderd Jordan
2019-01-03checks: fix gc conditionDaiderd Jordan
Don't fail if the user is configured properly.
2019-01-02checks: generalize and make them more configurableDaiderd Jordan
All the checks are now aggregated in system.checks.text making it easy to allow certain checks to be disabled as well as disabling them alltogether if desired. eg. # Disable all checks. system.checks.text = mkForce ""; Fixes #117
2019-01-02nix-gc: add check for nix.gc.automaticDaiderd Jordan
This hopefully avoids problems for people that try to enable the service with a single-user install. Fixes #118
2018-10-26Revert "nix: make channel entries for NIX_PATH dynamic"Daiderd Jordan
This reverts commit 95fb1cb2aa1781b239db074dcc9b15089b55e118, 1324ccf2c1fe10fd277dabefa3c8e5631e216d41 and e5c988edf1df3412ca5b3c4704dca666614f9250.
2018-10-26checks: include channel paths for NIX_PATH checksDaiderd Jordan
2018-10-11Merge pull request #108 from thefloweringash/dock-show-recentsDaiderd Jordan
system.defaults.dock: add `show-recents` option
2018-10-11Merge pull request #102 from peel/f-fonts-moduleDaiderd Jordan
initialise fonts module
2018-10-11system.defaults.dock: add `show-recents` optionAndrew Childs
2018-09-30Fix quoting for nixPath checkLuigy Leon
2018-09-30initialise fonts modulePiotr Limanowski
2018-08-26checks: update and improve darwin-config messageDaiderd Jordan
Now that environment.darwinConfig exists it's a better choice otherwise multiple NIX_PATH entries need to be added.
2018-08-01activation: fix missing /sbin entries in PATHDaiderd Jordan
2018-06-29installer and activation: Sanitise PATHKirill Elagin
This makes sure that the installation and activation processes are “pure”, i.e. they use only binaries from nixpkgs or ones that come with macOS. Closes #86.
2018-03-29nix: use pkgs.nix by default instead of the default profileDaiderd Jordan
This fixes version detection for 2.0.
2018-03-01defaults: set screencapture.location's default to nullcmacrae
2018-02-27defaults: Add screencapture.locationcmacrae
2018-01-29launchd: run unload without -wDaiderd Jordan
The service will be removed anyway.
2018-01-21system: use preferLocalBuild for simple derivationsDaiderd Jordan
Most of the builds like system.build.etc will be faster when built locally, they also don't depend on CC.