Hardlink in the store

This commit is contained in:
Smaug123
2021-11-07 09:30:43 +00:00
parent 1329700cd3
commit 929a4326ec
2 changed files with 10 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ let gmp =
# Use a custom configuration.nix location.
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
# environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
environment.darwinConfig = "$HOME/.nixpkgs/darwin-configuration.nix";
nixpkgs.overlays = [
(import (builtins.fetchTarball {
@@ -46,8 +46,14 @@ let gmp =
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
nix.gc.automatic = true;
nix.useSandbox = true;
nix.extraOptions = ''
auto-optimise-store = true
'';
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog

View File

@@ -45,7 +45,7 @@ let rider = import ./rider/rider.nix { inherit pkgs; username = username; }; in
pkgs.html-tidy
pkgs.hugo
pkgs.agda
#rider
#pkgs.anki-bin
];
programs.vscode = {