My first module

This commit is contained in:
Yorick Barbanneau 2023-12-25 21:54:04 +01:00
parent cb37b7882d
commit 1d907edb1c
5 changed files with 26 additions and 9 deletions

View file

@ -29,15 +29,6 @@ xkb_symbols "us-intl-winmax" {
};
};
home.packages = with pkgs; [
kdenlive
ffmpeg-full
frei0r
inkscape
];
home.file.".local/bin/create_conf".source = ./files/create_conf;
imports = [
../qutebrowser
];

View file

@ -0,0 +1,19 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.video.kdenlive;
in
{
options.modules.video.kdenlive = {
enable = mkEnableOption "enable Kdenlive video editor";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
kdenlive
ffmpeg-full
frei0r
inkscape
];
home.file.".local/bin/create_conf".source = ./files/create_conf;
};
}