Extract media packages
This commit is contained in:
parent
690ab81d76
commit
8fb83fb5ca
|
@ -2,6 +2,11 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
./media-packages.nix
|
||||||
|
];
|
||||||
|
packages.media-packages.enable = true;
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
23
system/media-packages.nix
Normal file
23
system/media-packages.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.packages.media-packages;
|
||||||
|
in {
|
||||||
|
options.packages.media-packages = {
|
||||||
|
enable = mkEnableOption "media packages";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
yt-dlp
|
||||||
|
ffmpeg
|
||||||
|
imagemagick
|
||||||
|
mpc-cli
|
||||||
|
helvum
|
||||||
|
gimp
|
||||||
|
inkscape
|
||||||
|
kdenlive
|
||||||
|
blender
|
||||||
|
libreoffice
|
||||||
|
godot
|
||||||
|
]
|
||||||
|
};
|
||||||
|
}
|
|
@ -57,19 +57,6 @@ in {
|
||||||
wpass
|
wpass
|
||||||
_gpg-unlock
|
_gpg-unlock
|
||||||
|
|
||||||
## media
|
|
||||||
yt-dlp
|
|
||||||
ffmpeg
|
|
||||||
imagemagick
|
|
||||||
mpc-cli
|
|
||||||
helvum
|
|
||||||
gimp
|
|
||||||
inkscape
|
|
||||||
kdenlive
|
|
||||||
blender
|
|
||||||
libreoffice
|
|
||||||
godot
|
|
||||||
|
|
||||||
## games
|
## games
|
||||||
# lutris-unwrapped
|
# lutris-unwrapped
|
||||||
# steam # It's enabled in the system config
|
# steam # It's enabled in the system config
|
||||||
|
|
Loading…
Reference in a new issue