This commit is contained in:
parent
4271993f2f
commit
aac84ce5b5
5 changed files with 7 additions and 30 deletions
|
@ -3,9 +3,5 @@
|
||||||
|
|
||||||
features = {
|
features = {
|
||||||
cli.zsh.enable = true;
|
cli.zsh.enable = true;
|
||||||
|
|
||||||
desktop.media = {
|
|
||||||
handbrake.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
|
||||||
media = {
|
|
||||||
handbrake.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
./bookmarkthis.nix
|
./bookmarkthis.nix
|
||||||
./dev-commit.nix
|
./dev-commit.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./media/handbrake.nix
|
|
||||||
./node.nix
|
./node.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./zsh
|
./zsh
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.features.desktop.media.handbrake;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.features.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
handbrake
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
7
modules2/handbrake.nix
Normal file
7
modules2/handbrake.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.gui =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [ pkgs.handbrake ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue