Enable content addressing derivations

This commit is contained in:
Kiana Sheibani 2024-01-16 22:14:48 -05:00
parent 3ad9123955
commit 3b250c0d1b

View file

@ -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;