mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:08:11 +09:00
23 lines
409 B
Nix
23 lines
409 B
Nix
{
|
|
inputs,
|
|
osConfig,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
unstable = import inputs.nixpkgs-unstable {
|
|
inherit (pkgs.stdenv.hostPlatform) system;
|
|
# Keep default CUDA targets so dependencies match the CUDA binary cache.
|
|
config = pkgs.config // {
|
|
cudaSupport = osConfig.my.hardwares.nvidia.enable;
|
|
};
|
|
};
|
|
in
|
|
{
|
|
home.packages = [
|
|
(unstable.darktable.override {
|
|
withAi = true;
|
|
})
|
|
];
|
|
}
|