My first module
This commit is contained in:
parent
cb37b7882d
commit
1d907edb1c
5 changed files with 26 additions and 9 deletions
|
@ -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 = [
|
imports = [
|
||||||
../qutebrowser
|
../qutebrowser
|
||||||
];
|
];
|
||||||
|
|
19
home-manager/kdenlive/default.nix
Normal file
19
home-manager/kdenlive/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
5
hosts/morty/home.nix
Normal file
5
hosts/morty/home.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ ... }: {
|
||||||
|
config.modules = {
|
||||||
|
video.kdenlive.enable = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -72,7 +72,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
../hosts/${hostname}/home.nix
|
||||||
../home-manager/cli
|
../home-manager/cli
|
||||||
|
../home-manager/kdenlive/default.nix
|
||||||
] ++ (if hostConfig.desktop then
|
] ++ (if hostConfig.desktop then
|
||||||
[
|
[
|
||||||
../home-manager/desktop
|
../home-manager/desktop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue