mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
41 lines
573 B
Nix
41 lines
573 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
username,
|
|
...
|
|
}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.usecases.development;
|
|
in
|
|
{
|
|
imports = [
|
|
./development/angular.nix
|
|
./development/svelte.nix
|
|
./development/docker.nix
|
|
];
|
|
|
|
options.usecases.development = {
|
|
enable = mkEnableOption "Enable development tools";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
gh
|
|
git-filter-repo
|
|
ripgrep
|
|
jq
|
|
httpie
|
|
];
|
|
|
|
home-manager.users.${username} = {
|
|
programs = {
|
|
lazygit.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|