diff --git a/modules/dev/cs.nix b/modules/dev/cs.nix new file mode 100644 index 00000000..2e73b4c2 --- /dev/null +++ b/modules/dev/cs.nix @@ -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 + ]; + }; +} diff --git a/modules/dev/default.nix b/modules/dev/default.nix index 990d6550..cb5e620b 100644 --- a/modules/dev/default.nix +++ b/modules/dev/default.nix @@ -8,5 +8,6 @@ ./nixd.nix ./nil.nix ./lua.nix + ./cs.nix ]; }