This commit is contained in:
Sridhar Ratnakumar 2022-07-18 16:10:36 -04:00
parent 958d729a16
commit 86bdec5e4e
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
{ pkgs, ... }: {
nix.binaryCachePublicKeys = [
nix.settings.trusted-public-keys = [
# "srid.cachix.org-1:MTQ6ksbfz3LBMmjyPh0PLmos+1x+CdtJxA/J2W+PQxI="
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
nix.binaryCaches = [
nix.settings.substituters = [
# "https://srid.cachix.org"
# "https://nix-community.cachix.org"
"https://cache.garnix.io"

View file

@ -50,7 +50,7 @@
# The RAIDs are assembled in stage1, so we need to make the config
# available there.
boot.initrd.mdadmConf = config.environment.etc."mdadm.conf".text;
boot.initrd.services.swraid.mdadmConf = config.environment.etc."mdadm.conf".text;
# Network (Hetzner uses static IP assignments, and we don't use DHCP here)
networking.useDHCP = false;