feat: clean up configuration

This commit is contained in:
Xavier Morel
2025-07-24 12:17:21 +02:00
parent 697e300521
commit 522794e5ed
15 changed files with 96 additions and 92 deletions

View File

@@ -0,0 +1,26 @@
{
pkgs,
config,
lib,
...
}:
{
options.myHome.programs.creativity.enable = lib.mkEnableOption "enable creativity software";
config = lib.mkIf config.myHome.programs.creativity.enable {
home.packages = with pkgs; [
blender
tiled
aseprite
inkscape
prusa-slicer
openscad
godot_4
gdtoolkit_4
audacity
sfxr
];
};
}

View File

@@ -3,8 +3,12 @@
}:
{
imports = [
./creativity.nix
./fish.nix
./helix.nix
./kitty.nix
./nvim.nix
./photos.nix
./scanner.nix
];
}

View File

@@ -0,0 +1 @@
{ ... }: { }

View File

@@ -0,0 +1,15 @@
{
pkgs,
config,
lib,
...
}:
{
options.myHome.programs.photos.enable = lib.mkEnableOption "enable photo software";
config = lib.mkIf config.myHome.programs.photos.enable {
home.packages = with pkgs; [
# gimp
rawtherapee
];
};
}

View File

@@ -0,0 +1,15 @@
{
pkgs,
config,
lib,
...
}:
{
options.myHome.programs.scanner.enable = lib.mkEnableOption "enable scanner software";
config = lib.mkIf config.myHome.programs.scanner.enable {
home.packages = with pkgs; [
xsane
sane-frontends
];
};
}