Use nixosModules and homeManagerModules for config

This commit is contained in:
Oliver Davies 2025-03-05 15:09:06 +00:00
parent 88a054f3b4
commit 2de0e1a2d6
46 changed files with 151 additions and 190 deletions

View file

@ -8,9 +8,9 @@
with lib;
{
options.features.desktop.media.gimp.enable = mkEnableOption "Enable gimp";
options.homeManagerModules.gimp.enable = mkEnableOption "Enable gimp";
config = mkIf config.features.desktop.media.gimp.enable {
config = mkIf config.homeManagerModules.gimp.enable {
home.packages = with pkgs; [ gimp ];
};
}