nixos/modules/dev/cs.nix

16 lines
282 B
Nix
Raw Normal View History

2024-07-30 20:27:41 +04:00
{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.dev.csharp;
in
{
options.modules.dev.csharp = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2024-07-30 20:27:41 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2024-07-30 20:27:41 +04:00
users.users.sako.packages = with pkgs; [
omnisharp-roslyn
];
};
}