mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-22 21:05:22 +08:00
Migrate
This commit is contained in:
parent
958d729a16
commit
86bdec5e4e
2 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue