darwin/workmac: use nix 2.25
This is supposed to improve the performance of the git tarball cache.
This commit is contained in:
parent
151165cecd
commit
4ebcaa637e
|
@ -2,7 +2,10 @@
|
|||
|
||||
{
|
||||
imports = [ ../common/nix-settings.nix ];
|
||||
nix.settings = {
|
||||
nix = {
|
||||
enable = true;
|
||||
package = pkgs.nixVersions.nix_2_25;
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"os"
|
||||
"@admin"
|
||||
|
@ -16,6 +19,11 @@
|
|||
"flyingcircus.io-1:Rr9CwiPv8cdVf3EQu633IOTb6iJKnWbVfCC8x8gVz2o="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages = [ pkgs.vim ];
|
||||
|
@ -24,10 +32,6 @@
|
|||
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
|
||||
# environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
# nix.package = pkgs.nix;
|
||||
|
||||
# Create /etc/bashrc that loads the nix-darwin environment.
|
||||
programs.zsh.enable = true; # default shell on catalina
|
||||
|
||||
|
|
Loading…
Reference in a new issue