From 5d702c3f1528a9ba10a592e3c934b2c74f8807a8 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 5 Jul 2024 14:45:10 +0400 Subject: [PATCH] add feishin --- hosts/sakopc/configuration.nix | 1 + modules/desktop/media/default.nix | 1 + modules/desktop/media/feishin/default.nix | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 modules/desktop/media/feishin/default.nix diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index 591a4aa5..85b4ec14 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -55,6 +55,7 @@ mpv.enable = true; kdenlive.enable = true; blender.enable = true; + feishin.enable = true; }; }; dev = { diff --git a/modules/desktop/media/default.nix b/modules/desktop/media/default.nix index 96f75420..8c705539 100644 --- a/modules/desktop/media/default.nix +++ b/modules/desktop/media/default.nix @@ -8,5 +8,6 @@ ./lmms ./mpv ./jellyfin + ./feishin ]; } diff --git a/modules/desktop/media/feishin/default.nix b/modules/desktop/media/feishin/default.nix new file mode 100644 index 00000000..0ae094ba --- /dev/null +++ b/modules/desktop/media/feishin/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.media.feishin; +in +{ + options.modules.desktop.media.feishin = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + feishin + ]; + }; +}