nixos/roles/design.nix
Ivan Bushchik 9de8497113
Call nixfmt for the first time
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-09-06 16:10:11 +03:00

11 lines
278 B
Nix

{ config, lib, pkgs, ... }:
let cfg = config.my.roles.design;
in {
options.my.roles.design.enable =
lib.mkEnableOption "Enable design-specific programs";
config = lib.mkIf (cfg.enable) {
environment.systemPackages = with pkgs; [ inkscape gimp imagemagick ];
};
}