Fixed nix renamed options and broken post-build hook

This commit is contained in:
Tim Schubert 2022-03-19 00:11:07 +01:00
parent efefa0c8be
commit ff9aa4738b
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 4 additions and 5 deletions

View file

@ -18,7 +18,6 @@ in
nix.package = pkgs.nixUnstable; nix.package = pkgs.nixUnstable;
nix.extraOptions = '' nix.extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
post-build-hook = ${signHook}
''; '';
boot.kernelPackages = pkgs.linuxPackages_5_15; boot.kernelPackages = pkgs.linuxPackages_5_15;

View file

@ -16,15 +16,15 @@
nixpkgs.flake = nixpkgs; nixpkgs.flake = nixpkgs;
dadada.flake = self; dadada.flake = self;
}; };
nix.binaryCaches = [ nix.settings.substituters = [
https://cache.nixos.org/ https://cache.nixos.org/
https://nix-community.cachix.org/ https://nix-community.cachix.org/
]; ];
nix.binaryCachePublicKeys = [ nix.settings.trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"gorgon:eEE/PToceRh34UnnoFENERhk89dGw5yXOpJ2CUbfL/Q=" "gorgon:eEE/PToceRh34UnnoFENERhk89dGw5yXOpJ2CUbfL/Q="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
]; ];
nix.requireSignedBinaryCaches = true; nix.settings.require-sigs = true;
nix.useSandbox = true; nix.settings.sandbox = true;
} }