Make Nix rebuilds work offline

This commit is contained in:
NullBite 2024-02-07 07:37:30 +01:00
parent 38056d5abc
commit a3e82595df
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -11,6 +11,10 @@
# Enable flakes # Enable flakes
nix.settings.experimental-features = ["nix-command" "flakes" ]; nix.settings.experimental-features = ["nix-command" "flakes" ];
# fallback to building locally if binary cache fails (home-manager should be
# able to handle simple rebuilds offline)
nix.settings.fallback = true;
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;