mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-05 23:18:11 +09:00
darktable
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
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;
|
||||
})
|
||||
];
|
||||
}
|
||||
@@ -42,6 +42,7 @@ required on every supported host.
|
||||
| `workload.game` | NixOS, macOS |
|
||||
| `workload.machine-learning` | NixOS with Home Manager |
|
||||
| `workload.personal` | NixOS, macOS with Home Manager |
|
||||
| `workload.photography` | NixOS with Home Manager |
|
||||
| `workload.remote-access` | NixOS, macOS |
|
||||
| `workload.camera` | NixOS |
|
||||
| `workload.server` | NixOS, macOS with Home Manager |
|
||||
@@ -70,6 +71,12 @@ Neovim, Yazi, and the remaining interactive command-line tools.
|
||||
`workload.machine-learning` provides the Hugging Face Hub CLI for hosts used
|
||||
to download and publish machine learning models and datasets.
|
||||
|
||||
`workload.photography` provides darktable with AI support from the locked
|
||||
unstable package set. Its ONNX Runtime uses CUDA when the NVIDIA hardware unit
|
||||
is enabled, and CPU inference otherwise. Keep the default CUDA capabilities
|
||||
and forward compatibility to reuse the CUDA binary cache; these targets include
|
||||
galleria's RTX 3060 Ti. OpenCL drivers remain owned by hardware units.
|
||||
|
||||
`workload.deploy-rs-target` enables OpenSSH and provisions the `nixdeploy`
|
||||
service account with the narrowly scoped passwordless commands required for
|
||||
deploy-rs activation and rollback confirmation.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
description = "RAW photo development and editing";
|
||||
|
||||
includes = [ "applications.darktable" ];
|
||||
}
|
||||
@@ -23,6 +23,7 @@
|
||||
"https://cache.numtide.com"
|
||||
"https://codex-desktop-linux.cachix.org"
|
||||
"https://cuda-maintainers.cachix.org"
|
||||
"https://cache.nixos-cuda.org"
|
||||
];
|
||||
|
||||
extra-trusted-public-keys = [
|
||||
@@ -35,6 +36,7 @@
|
||||
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
|
||||
"codex-desktop-linux.cachix.org-1:nX/xy6AdK9hQE24A8ALGjkCKj2ObFmcnemiL5Cid4nk="
|
||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
||||
"nix-builder-1:aG/Y2Lac517isxGO+ZYdVgglj/SI54PkkWoZTQI9aOI="
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user