nixos/modules/dev/cs.nix

17 lines
284 B
Nix
Raw Normal View History

2024-07-30 20:27:41 +04:00
{ 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
];
};
}