23 lines
566 B
Nix
23 lines
566 B
Nix
|
|
# /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 ];
|
||
|
|
})
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|