Skip to content

Commit

Permalink
Test bcachefs-tools patch
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed May 12, 2024
1 parent c337ab4 commit b60df8a
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 75 deletions.
14 changes: 14 additions & 0 deletions default-host/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@
../misc/cachix.nix # absolute location /etc/nixos/cachix.nix
];

nixpkgs.overlays = [
(final: prev: {
bcachefs-tools = inputs.bcachefs-tools.packages.${pkgs.system}.bcachefs.overrideAttrs (oldAttrs: {
patches = [
(pkgs.fetchpatch {
# FIXME: remove when https://github.com/koverstreet/bcachefs-tools/pull/263 is merged
url = "https://github.com/koverstreet/bcachefs-tools/pull/263.patch";
hash = "sha256-M5FhW5ZWQdfXbLzb/Rr+rNtLLPRIdlOBnxQzDpnoyyw=";
})
];
});
})
];

networking.hostName = systemSettings.hostname; # Define your hostname in flake.nix

# Dont change this without reading documentation
Expand Down
Loading

0 comments on commit b60df8a

Please sign in to comment.