nix-config/nixosModules/dev/default.nix

38 lines
563 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
...
}@inputs:
2024-09-19 17:30:03 +02:00
let
cfg = config.krop.devtools;
in
{
imports = [
./python.nix
./ide.nix
];
options.krop.devtools = {
installTools = lib.mkOption {
type = lib.types.bool;
default = true;
example = true;
description = "Whether to install the most used tools";
2024-09-19 17:30:03 +02:00
};
};
2024-09-19 17:30:03 +02:00
config =
let
tools = with pkgs; [
lazygit
lazydocker
micro-with-wl-clipboard
albert
openssl_3_3
];
in
{
environment.systemPackages = tools;
2024-09-19 17:30:03 +02:00
};
}