mirror of
https://github.com/librephoenix/nixos-config
synced 2025-12-01 15:14:01 +05:30
35 lines
578 B
Nix
35 lines
578 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
pkgs-stable,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.userSettings.art;
|
|
in
|
|
{
|
|
options = {
|
|
userSettings.art = {
|
|
enable = lib.mkEnableOption "Enable art apps";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = with pkgs-stable; [
|
|
krita
|
|
pinta
|
|
inkscape
|
|
libresprite
|
|
upscayl
|
|
material-maker
|
|
google-fonts
|
|
fontforge-gtk
|
|
];
|
|
userSettings.blender.enable = true;
|
|
xdg.mimeApps.defaultApplications = lib.mkForce {
|
|
"image/svg+xml" = [ "org.inkscape.Inkscape.desktop" ];
|
|
};
|
|
};
|
|
}
|