Skip to content

Commit

Permalink
bcachefs: add bcachefs-tools from upstream
Browse files Browse the repository at this point in the history
Signed-off-by: John Titor <[email protected]>
  • Loading branch information
JohnRTitor committed Aug 2, 2024
1 parent 9ae26ff commit bdd55fe
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 7 deletions.
175 changes: 171 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@

{
description = "Unstable NixOS custom installation media";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
bcachefs-tools.url = "github:koverstreet/bcachefs-tools";
};
outputs =
{ self, nixpkgs }:
{ self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux"; # change arch here

specialArgs = {
inherit system;
inherit inputs;
};
in
{
Expand Down
10 changes: 9 additions & 1 deletion graphical-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
lib,
pkgs,
system,
inputs,
...
}:

Expand Down Expand Up @@ -36,7 +37,6 @@

# Enable NetworkManager to manage network connections.
networking.networkmanager.enable = true;
sound.enable = true; # Enable sound
hardware.bluetooth.enable = true; # enables support for Bluetooth

nixpkgs.config.allowUnfree = true;
Expand All @@ -53,4 +53,12 @@
google-chrome
firefox
];

systemd.enableUnifiedCgroupHierarchy = lib.mkForce false;

nixpkgs.overlays = [
(final: prev: {
bcachefs-tools = inputs.bcachefs-tools.packages.${pkgs.system}.bcachefs-tools;
})
];
}

0 comments on commit bdd55fe

Please sign in to comment.