mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 08:25:07 +03:00
Ivan Bushchik
4afe642684
NOTE: any config other than stella will not be working for a while Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
14 lines
300 B
Nix
14 lines
300 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
|
|
];
|
|
};
|
|
}
|