summaryrefslogtreecommitdiff
path: root/modules/nix/default.nix
AgeCommit message (Collapse)Author
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-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-05-01nix: allow specifying named NIX_PATH using and attrsetDaiderd Jordan
This gives the option nicer merge behaviour, otherwise setting a named entry multiple times would result in duplicates which can't be resolved without overriding the entire list.
2018-10-26Revert "nix: make channel entries for NIX_PATH dynamic"Daiderd Jordan
This reverts commit 95fb1cb2aa1781b239db074dcc9b15089b55e118, 1324ccf2c1fe10fd277dabefa3c8e5631e216d41 and e5c988edf1df3412ca5b3c4704dca666614f9250.
2018-10-26nix: make channel entries for NIX_PATH dynamicDaiderd Jordan
This avoids warnings like this if the root or user channel profiles don't exist. warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
2018-09-14nix: only set NIX_REMOTE for nix 1.11Daiderd Jordan
This isn't needed anymore, nix 2.0 figures this out automatically now.
2018-08-26environment: add darwinConfig option to set darwin-config in NIX_PATHDaiderd Jordan
This simplifies using a non default configuration.nix without requiring a symlink or redefining NIX_PATH. The nix.nixPath option only defines a default which means defining a value will drop all of the defaults. This is because correct merge behaviour isn't very clear for named entries.
2018-03-29nix: use literalExample for packageDaiderd Jordan
2018-03-29nix: use mkDefault for nix profileDaiderd Jordan
2018-03-29nix: add version optionDaiderd Jordan
This can be used to declare the system version of nix when a profile is used instead of a package.
2018-03-29nix: use pkgs.nix by default instead of the default profileDaiderd Jordan
This fixes version detection for 2.0.
2018-03-26nix: update config options for 2.0Daiderd Jordan
2018-02-01nix: don't set signed-binary-caches for nix 2.0Daiderd Jordan
The option was removed.
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.
2018-01-17formattingDaiderd Jordan
2018-01-17nix: remove redundant user checkDaiderd Jordan
2018-01-16nix: fix daemon check, only set if store is not writableDaiderd Jordan
Fixes issues for a single-user install introduced in 9792b08fdf049524742143f4f788e3eb61a769fd.
2018-01-14nix: add note about multi-user installs for distributed buildsDaiderd Jordan
2018-01-13nix: add to systemPackages when nix.package is setDaiderd Jordan
2018-01-09nix: add warning for distributed buildsDaiderd Jordan
2018-01-03nix: allways set NIX_REMOTE=daemon when the db isn't writableDaiderd Jordan
2018-01-03nix: reload daemon when nix.conf changesDaiderd Jordan
2017-10-01nix: use old default for nix.nixPath with system.stateVersion = 1Daiderd Jordan
2017-09-06nix: include user channels in NIX_PATHDaiderd Jordan
2017-07-23nix: look for <darwin> in channels by defaultDaiderd Jordan
2017-07-23add activation-checksDaiderd Jordan
2017-07-22nix: include root channels in default NIX_PATHDaiderd Jordan
2017-07-18nix: add support for nix 1.12Daiderd Jordan
2017-07-18nix: include cache.nixos.org by defaultDaiderd Jordan
2017-07-18nix-daemon: fix evalDaiderd Jordan
2017-07-18nix-daemon: fix nixbld group warningDaiderd Jordan
2017-05-20nix-daemon: unset NIX_REMOTE if there are no build users.Daiderd Jordan
2017-02-19nix-daemon: fix activation scriptDaiderd Jordan
2017-02-19nix: show warning when using distributed builds without services.activate-systemDaiderd Jordan
2017-01-09nix.distributedBuilds: create directory for current loadDaiderd Jordan
2017-01-05nix: only include build-users-group if the nix-daemon service is enabledDaiderd Jordan
2017-01-04don't include build-sandbox-paths by default in nix.confDaiderd Jordan
2016-12-19remove unused nixbldUsersDaiderd Jordan
2016-12-15change default nix.nixPath to work for single user installsDaiderd Jordan
2016-12-15fix cert bundle for services.nix-daemonDaiderd Jordan
2016-12-15add nix moduleDaiderd Jordan
2016-12-11add nixpkgs.config optionDaiderd Jordan
2016-12-11add nix-tools and use <darwin-config> instead of config.nixDaiderd Jordan