2023-07-09 15:44:29 +04:00
|
|
|
{ outputs, options, config, lib, pkgs, ...}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.modules.dev.cc;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.modules.dev.cc = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
users.users.sako.packages = with pkgs; [
|
|
|
|
gcc
|
|
|
|
gnumake
|
|
|
|
cmake
|
|
|
|
clang
|
|
|
|
gdb
|
2023-07-10 17:36:02 +04:00
|
|
|
pkg-config
|
2023-07-09 15:44:29 +04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|