System Gen129 @ 2025-12-27-01:17:02 by jonas@monolith
This commit is contained in:
@@ -79,6 +79,10 @@
|
|||||||
video-editing-heavy = true;
|
video-editing-heavy = true;
|
||||||
daws = true;
|
daws = true;
|
||||||
};
|
};
|
||||||
|
hive.programs.utils = {
|
||||||
|
enable = true;
|
||||||
|
camera = true;
|
||||||
|
};
|
||||||
hive.programs.spotify-shortcuts = {
|
hive.programs.spotify-shortcuts = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clientIdSopsKey = config.sops.secrets.spotifyShortcutsClientId.name;
|
clientIdSopsKey = config.sops.secrets.spotifyShortcutsClientId.name;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
./programs/creative.nix
|
./programs/creative.nix
|
||||||
./programs/games.nix
|
./programs/games.nix
|
||||||
./programs/spotify-shortcuts.nix
|
./programs/spotify-shortcuts.nix
|
||||||
|
./programs/utils.nix
|
||||||
./services/borg-server.nix
|
./services/borg-server.nix
|
||||||
./services/gitea-instance.nix
|
./services/gitea-instance.nix
|
||||||
./services/gotify-instance.nix
|
./services/gotify-instance.nix
|
||||||
|
|||||||
@@ -66,11 +66,11 @@ in {
|
|||||||
lib.optionals cfg.image-editing [gimp krita drawio]
|
lib.optionals cfg.image-editing [gimp krita drawio]
|
||||||
++ lib.optional cfg.image-management digikam
|
++ lib.optional cfg.image-management digikam
|
||||||
++ lib.optionals cfg.image-raw-processing [
|
++ lib.optionals cfg.image-raw-processing [
|
||||||
darktable
|
|
||||||
rawtherapee
|
|
||||||
enblend-enfuse
|
enblend-enfuse
|
||||||
hdrmerge
|
hdrmerge
|
||||||
hugin
|
hugin
|
||||||
|
rawtherapee
|
||||||
|
unstable.darktable
|
||||||
]
|
]
|
||||||
++ lib.optionals cfg.video-editing-light [
|
++ lib.optionals cfg.video-editing-light [
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|||||||
26
modules/programs/utils.nix
Normal file
26
modules/programs/utils.nix
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = config.hive.programs.utils;
|
||||||
|
in {
|
||||||
|
options.hive.programs.utils = {
|
||||||
|
enable = lib.mkEnableOption "Enable utilities";
|
||||||
|
camera = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Camera utilities
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = lib.optionals cfg.camera [
|
||||||
|
pkgs.cheese
|
||||||
|
pkgs.obs-studio
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user