Skip to content

Commit

Permalink
Revert "zfs: kernel and user overlay to 2.1.7"
Browse files Browse the repository at this point in the history
* Setting /sys/module/zfs/parameters/zfs_dmu_offset_next_sync to 1
  instead of overlay utilization
* Ref: openzfs/zfs/pull/12746

This reverts commit 02462d5.
  • Loading branch information
johnalotoski committed Dec 9, 2022
1 parent 02462d5 commit e9f2087
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@
(
let
system = "x86_64-linux";
overlays = [(import ./overlay.nix inputs)];
# overlays = [(import ./overlay.nix inputs)];
in
bitte.lib.mkBitteStack {
inherit inputs;
inherit (inputs) self;
inherit overlays;
# inherit overlays;
domain = "bitte.aws.iohkdev.io";
bitteProfile = inputs.self.${system}.metal.bitteProfile.default;
hydrationProfile = inputs.self.${system}.cloud.hydrationProfile.default;
Expand Down
12 changes: 0 additions & 12 deletions nix/metal/bitteProfile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,6 @@ in {
path = "/nix";
read_only = false;
};

boot.kernelPackages = pkgs.linuxPackages.extend (self: super: {
zfs = super.zfs.overrideAttrs (old: {
name = "zfs-kernel-2.1.7-${super.kernel.version}";
src = pkgs.fetchFromGitHub {
owner = "openzfs";
repo = "zfs";
rev = "zfs-2.1.7";
sha256 = "sha256-vLm6RE11nqOCoYXne79JU3nUQnVEUNbwrULwFfghWcI=";
};
});
});
});
}
// extraConfig;
Expand Down
11 changes: 0 additions & 11 deletions overlay.nix

This file was deleted.

0 comments on commit e9f2087

Please sign in to comment.