summaryrefslogtreecommitdiff
path: root/modules/system/activation-scripts.nix
AgeCommit message (Collapse)Author
2024-10-27users: move checks to `system.checks`Michael Hoang
2024-10-24power,sleep: Add options to control restart and sleep behaviorPhilip Børgesen
2024-07-27activation-scripts: add extra commentMichael Hoang
2024-04-19treewide: remove lib.mdDocWeijia Wang
2024-02-29`system.nvram`: init (internal)Sam
2023-07-16etc: check for existing files during checks stageEmily
This ensures that activation fails early if there are any `/etc` files with unexpected state, rather than leaving the system half-activated.
2023-07-11Allow flaky installation with `darwin-rebuild`Michael Hoang
2023-06-24treewide: convert all option docs to MarkdownEmily
This process was automated by [my fork of `nix-doc-munge`]; thanks to @pennae for writing this tool! It automatically checks that the resulting documentation doesn't change, although my fork loosens this a little to ignore some irrelevant whitespace and typographical differences. As of this commit there is no DocBook remaining in the options documentation. You can play along at home if you want to reproduce this commit: $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \ nix shell nixpkgs#coreutils \ -c find . -name '*.nix' \ -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \ {} + [my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2022-06-30Change option name and switch to using activation scriptMalo Bourgon
2020-12-17Move programs.brew-bundle to homebrewMalo Bourgon
2020-12-08Move brew-bundle activation to userMalo Bourgon
2020-12-08Add Homebrew Bundle moduleMalo Bourgon
2020-10-25remove nix 1.x config compatibilityDaiderd Jordan
2020-05-29system: add patches moduleDaiderd Jordan
2019-06-05activation-scripts: create /runDaiderd Jordan
In case this was removed or not bootstrapped by the installer.
2018-09-30initialise fonts modulePiotr Limanowski
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-01-17defaults: move com.apple.smb.server to /activateDaiderd Jordan
Currently fails with permission errors.
2018-01-14activation-scripts: include system in PATHDaiderd Jordan
This makes rollback more reliable by using the same version of tools that where used previously. For example nix is used during the activation checks.
2018-01-13activation: rename pre/post hooksDaiderd Jordan
Renamed extraPostActivation and extraUserPostActivation.
2018-01-13users: add options for user creationDaiderd Jordan
2018-01-13users: add options to create user groupsDaiderd Jordan
2018-01-08keyboard: add options for keyboard mappingsDaiderd Jordan
Fixes #55
2018-01-03nix: reload daemon when nix.conf changesDaiderd Jordan
2018-01-02Allow for postActivation scripts, that happen lastJohn Wiegley
2017-11-29security-accessibility: remove optionsDaiderd Jordan
The accessibility database has been protected with SIP since macOS 10.12 and there doesn't seem to be another way to configure this programmatically.
2017-07-23add activation-checksDaiderd Jordan
2017-07-05Adds an idea for networking modulePiotr Limanowski
The idea is to follow: https://nixos.org/nixos/options.html#networking so we can share even more configuration ideas from NixOS.
2017-05-20system-packages: link applications to ~/ApplicationsDaiderd Jordan
2017-05-16security: add option to configure accessibilityProgramsDaiderd Jordan
2017-05-15environment: include /usr/sbin and /sbin in systemPathDaiderd Jordan
Don't extend initial PATH adding extra entries should be done through appending environment.systemPath or manually extending it with environment.extraInit or similar options.
2017-05-13activation-scripts: run custom activation scripts firstDaiderd Jordan
2017-03-04activation-scripts: don't link current system before all activationScripts ↵Daiderd Jordan
finish
2017-02-19nix-daemon: check for nixbld group before activationDaiderd Jordan
Fixes #9
2017-01-25launchd: add user agentsDaiderd Jordan
2017-01-09nix.distributedBuilds: create directory for current loadDaiderd Jordan
2017-01-02move write-text submoduleDaiderd Jordan
2016-12-19add extra activation scriptsDaiderd Jordan
2016-12-16add time.timeZone optionDaiderd Jordan
2016-12-14add activate-user scriptDaiderd Jordan
2016-12-12move nix-tools out of nix expressionDaiderd Jordan
2016-12-07only activate system profile with sudoDaiderd Jordan
2016-12-04add service module for system activationDaiderd Jordan
2016-12-03fix system activation serviceDaiderd Jordan
2016-12-02improve system activationDaiderd Jordan
2016-12-01add initial support for system defaultsDaiderd Jordan
2016-11-06added activation script for launchd.daemon.nix-daemonDaiderd Jordan
2016-11-05generalized module for write-textDaiderd Jordan
- use custom etc activation script