mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 00:58:12 +09:00
darktable
This commit is contained in:
@@ -374,6 +374,7 @@ modules/profiles/
|
|||||||
│ ├── game/
|
│ ├── game/
|
||||||
│ ├── machine-learning/
|
│ ├── machine-learning/
|
||||||
│ ├── personal/
|
│ ├── personal/
|
||||||
|
│ ├── photography/
|
||||||
│ ├── server/
|
│ ├── server/
|
||||||
│ └── remote-access/
|
│ └── remote-access/
|
||||||
└── security/
|
└── security/
|
||||||
@@ -652,6 +653,7 @@ A host registry may use a specification like this:
|
|||||||
"workload.game"
|
"workload.game"
|
||||||
"workload.machine-learning"
|
"workload.machine-learning"
|
||||||
"workload.personal"
|
"workload.personal"
|
||||||
|
"workload.photography"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -685,6 +687,9 @@ x1g13 is the secure NixOS development and personal ThinkPad, with the same
|
|||||||
desktop sessions plus Tailscale client, SOPS, Secure Boot, and TPM-backed disk
|
desktop sessions plus Tailscale client, SOPS, Secure Boot, and TPM-backed disk
|
||||||
unlock. galleria is the Intel/NVIDIA physical desktop shared with Windows; it
|
unlock. galleria is the Intel/NVIDIA physical desktop shared with Windows; it
|
||||||
uses dedicated NixOS partitions, LUKS, Secure Boot, and TPM-backed disk unlock.
|
uses dedicated NixOS partitions, LUKS, Secure Boot, and TPM-backed disk unlock.
|
||||||
|
It selects `workload.photography` for AI-enabled darktable. The application
|
||||||
|
chooses CUDA support from the NVIDIA hardware unit's enable state and keeps
|
||||||
|
the default CUDA targets, including RTX 3060 Ti support, to reuse binary caches.
|
||||||
m2 is the daily-use macOS development and personal machine with the macOS
|
m2 is the daily-use macOS development and personal machine with the macOS
|
||||||
interface defaults. Keep the desktop sessions independently selectable, and
|
interface defaults. Keep the desktop sessions independently selectable, and
|
||||||
keep the development and personal profiles usable across NixOS and Darwin.
|
keep the development and personal profiles usable across NixOS and Darwin.
|
||||||
|
|||||||
@@ -117,6 +117,7 @@
|
|||||||
"workload.game"
|
"workload.game"
|
||||||
"workload.machine-learning"
|
"workload.machine-learning"
|
||||||
"workload.personal"
|
"workload.personal"
|
||||||
|
"workload.photography"
|
||||||
"workload.camera"
|
"workload.camera"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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.game` | NixOS, macOS |
|
||||||
| `workload.machine-learning` | NixOS with Home Manager |
|
| `workload.machine-learning` | NixOS with Home Manager |
|
||||||
| `workload.personal` | NixOS, macOS with Home Manager |
|
| `workload.personal` | NixOS, macOS with Home Manager |
|
||||||
|
| `workload.photography` | NixOS with Home Manager |
|
||||||
| `workload.remote-access` | NixOS, macOS |
|
| `workload.remote-access` | NixOS, macOS |
|
||||||
| `workload.camera` | NixOS |
|
| `workload.camera` | NixOS |
|
||||||
| `workload.server` | NixOS, macOS with Home Manager |
|
| `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
|
`workload.machine-learning` provides the Hugging Face Hub CLI for hosts used
|
||||||
to download and publish machine learning models and datasets.
|
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`
|
`workload.deploy-rs-target` enables OpenSSH and provisions the `nixdeploy`
|
||||||
service account with the narrowly scoped passwordless commands required for
|
service account with the narrowly scoped passwordless commands required for
|
||||||
deploy-rs activation and rollback confirmation.
|
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://cache.numtide.com"
|
||||||
"https://codex-desktop-linux.cachix.org"
|
"https://codex-desktop-linux.cachix.org"
|
||||||
"https://cuda-maintainers.cachix.org"
|
"https://cuda-maintainers.cachix.org"
|
||||||
|
"https://cache.nixos-cuda.org"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
@@ -35,6 +36,7 @@
|
|||||||
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
|
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
|
||||||
"codex-desktop-linux.cachix.org-1:nX/xy6AdK9hQE24A8ALGjkCKj2ObFmcnemiL5Cid4nk="
|
"codex-desktop-linux.cachix.org-1:nX/xy6AdK9hQE24A8ALGjkCKj2ObFmcnemiL5Cid4nk="
|
||||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||||
|
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
||||||
"nix-builder-1:aG/Y2Lac517isxGO+ZYdVgglj/SI54PkkWoZTQI9aOI="
|
"nix-builder-1:aG/Y2Lac517isxGO+ZYdVgglj/SI54PkkWoZTQI9aOI="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user