Skip to content

Commit

Permalink
Use bcachefs-tools from master since nixpkgs one is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed May 14, 2024
1 parent f9160f2 commit 5482666
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 95 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 5482666

Please sign in to comment.