From 6350b4a16ec15017d251e8bd7c1368d9548db2e6 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 11 Sep 2023 16:10:18 +0200 Subject: [PATCH] refactor digiKam --- hosts/yodaTab/configuration.nix | 1 + hosts/yodaTux/configuration.nix | 1 + modules/digikam.nix | 9 +++++++++ modules/programs.nix | 1 - 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 modules/digikam.nix diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index e572e58..ccbf8f3 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -36,6 +36,7 @@ in ../../modules/ssh.nix ../../modules/firefox.nix ../../modules/thunderbird.nix + #../../modules/digikam.nix ]; networking.hostName = "yodaTab"; diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index ce3e3b3..a078c58 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -36,6 +36,7 @@ in ../../modules/ssh.nix ../../modules/firefox.nix ../../modules/thunderbird.nix + ../../modules/digikam.nix ]; networking.hostName = "yodaTux"; diff --git a/modules/digikam.nix b/modules/digikam.nix new file mode 100644 index 0000000..05f1cf0 --- /dev/null +++ b/modules/digikam.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + users.users.yoda = { + packages = with pkgs; [ + digikam # Photo organization + ]; + }; +} diff --git a/modules/programs.nix b/modules/programs.nix index cd78edb..12b24ba 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -52,7 +52,6 @@ libsForQt5.ghostwriter # Markdown editor transmission-gtk # BitTorrent client meld # Diff and merge tool - digikam # Photo organization handbrake # Rip DVD and Blu-ray; rotate and export videos # Matrix clients