feat: Get ROCm working with flake
This commit is contained in:
parent
5284d6e596
commit
c20fd46f9f
6 changed files with 73 additions and 25 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# /etc/nixos/flake.nix
|
||||
{
|
||||
description = "Framework Desktop with Strix Halo";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
strix-halo.url = "github:hellas-ai/nix-strix-halo";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, strix-halo, ... }: {
|
||||
nixosConfigurations.crossbox = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
|
||||
({ pkgs, ... }: {
|
||||
# Apply Strix Halo overlay
|
||||
nixpkgs.overlays = [ strix-halo.overlays.default ];
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue