refactor(flake-parts): initial flake-parts configuration

This commit is contained in:
ooks-io 2024-05-13 22:50:56 +12:00
parent 8f67be9e68
commit 5603001d65
230 changed files with 380 additions and 717 deletions

View file

@ -0,0 +1,13 @@
{ lib, config, pkgs, ... }:
let
cfg = config.homeModules.desktop.creative.audio.audacity;
inherit (lib) mkIf mkEnableOption;
in
{
options.homeModules.desktop.creative.audio.audacity.enable = mkEnableOption "Enable audacity home module";
config = mkIf cfg.enable {
home.packages = [ pkgs.audacity ];
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./audacity
];
}

View file

@ -0,0 +1,7 @@
{
imports = [
./audio
./image
# ./video
];
}

View file

@ -0,0 +1,5 @@
{
imports = [
./inkscape
];
}

View file

@ -0,0 +1,14 @@
{ lib, config, pkgs, ... }:
let
cfg = config.homeModules.desktop.creative.audio.inkscape;
inherit (lib) mkIf mkEnableOption;
in
{
options.homeModules.desktop.creative.audio.inkscape.enable = mkEnableOption "Enable inkscape home module";
config = mkIf cfg.enable {
home.packages = [ pkgs.inkscape-with-extensions ];
};
}