add csharp

This commit is contained in:
Sakooooo 2024-07-30 20:27:41 +04:00
parent 4ecb541679
commit e3e84ca27a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 17 additions and 0 deletions

16
modules/dev/cs.nix Normal file
View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.dev.csharp;
in
{
options.modules.dev.csharp = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
omnisharp-roslyn
];
};
}

View file

@ -8,5 +8,6 @@
./nixd.nix
./nil.nix
./lua.nix
./cs.nix
];
}