diff --git a/hosts/builder/default.nix b/hosts/builder/default.nix index c4c55c1..84525cb 100644 --- a/hosts/builder/default.nix +++ b/hosts/builder/default.nix @@ -6,6 +6,7 @@ config, inputs, outputs, + lib, ... }: { imports = @@ -94,12 +95,12 @@ }; # optimize store by hardlinking store files - nix.optimise.automatic = true; - nix.optimise.dates = ["03:15"]; + nix.optimise.automatic = lib.mkForce true; + nix.optimise.dates = lib.mkForce ["03:15"]; - nix.gc.automatic = true; - nix.gc.dates = "daily"; - nix.gc.options = "--delete-old"; + nix.gc.automatic = lib.mkForce true; + nix.gc.dates = lib.mkForce "daily"; + nix.gc.options = lib.mkForce "--delete-old"; # nix.settings.keep-derivations = false; # nix.settings.keep-outputs = true; diff --git a/hosts/builder/hardware-configuration.nix b/hosts/builder/hardware-configuration.nix index 3d24bb6..5bb2173 100644 --- a/hosts/builder/hardware-configuration.nix +++ b/hosts/builder/hardware-configuration.nix @@ -14,7 +14,6 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; # Emulated systems used as alternative to cross-compiling boot.binfmt.emulatedSystems = ["aarch64-linux"];