mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
10 lines
278 B
Nix
10 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 ];
|
|
};
|
|
}
|