Enable content addressing derivations
This commit is contained in:
parent
3ad9123955
commit
3b250c0d1b
|
@ -15,10 +15,11 @@ in
|
||||||
nix.package = pkgs.nixFlakes;
|
nix.package = pkgs.nixFlakes;
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes ca-derivations
|
||||||
restrict-eval = false
|
restrict-eval = false
|
||||||
'';
|
'';
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
nixpkgs.config.contentAddressedByDefault = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = !isMobile;
|
boot.loader.systemd-boot.enable = !isMobile;
|
||||||
|
|
Loading…
Reference in a new issue