Skip to content

Commit

Permalink
[OPS-1514] Repin flake inputs
Browse files Browse the repository at this point in the history
Problem: we need to update flake inputs from time to time

Solution:
- update nixpkgs, serokell-nix (and the rest)
- fix terraform license change
- fix infinite recursion related to mdadm.conf
  • Loading branch information
karandit committed Dec 4, 2023
1 parent 06e302b commit 5f5ca69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
};
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = serokell-nix.lib.pkgsWith nixpkgs.legacyPackages.${system} allOverlays;
pkgsAllowUnfree = import nixpkgs { inherit system; config.allowUnfree = true;};
pkgs = serokell-nix.lib.pkgsWith pkgsAllowUnfree allOverlays;

tfConfigAst = terranix.lib.terranixConfigurationAst {
inherit system pkgs;
Expand Down
7 changes: 3 additions & 4 deletions servers/alzirr/platform.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@
# machines irrespective of host names.
# We do not worry about plugging disks into the wrong machine because
# we will never exchange disks between machines.
environment.etc."mdadm.conf".text = ''
HOMEHOST hetzner
'';
# The RAIDs are assembled in stage1, so we need to make the config
# available there.
boot.swraid.mdadmConf = config.environment.etc."mdadm.conf".text;
boot.swraid.mdadmConf = ''
HOMEHOST hetzner
'';

# Default mdmonitor service does not work, fix it by directing events to the log.
# See https://github.com/NixOS/nixpkgs/issues/72394
Expand Down

0 comments on commit 5f5ca69

Please sign in to comment.