summary refs log tree commit diff
path: root/modules/software-templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/software-templates')
-rw-r--r--modules/software-templates/devenv/c-cpp.nix12
-rw-r--r--modules/software-templates/devenv/dotnet.nix16
-rw-r--r--modules/software-templates/devenv/go.nix17
-rw-r--r--modules/software-templates/devenv/java.nix13
-rw-r--r--modules/software-templates/devenv/javascript.nix13
-rw-r--r--modules/software-templates/dotnet.client.nix26
-rw-r--r--modules/software-templates/eid-mw.nix11
-rw-r--r--modules/software-templates/profilers.nix2
8 files changed, 83 insertions, 27 deletions
diff --git a/modules/software-templates/devenv/c-cpp.nix b/modules/software-templates/devenv/c-cpp.nix
new file mode 100644

index 0000000..7e88303 --- /dev/null +++ b/modules/software-templates/devenv/c-cpp.nix
@@ -0,0 +1,12 @@ +{ pkgs, nix-jetbrains-plugins, ... }: + +{ + environment.systemPackages = with nix-jetbrains-plugins.lib; [ + (buildIdeWithPlugins pkgs "clion" [ + "com.github.copilot" + "nix-idea" + # "visual-studio-keymap" + "String Manipulation" + ]) + ]; +} diff --git a/modules/software-templates/devenv/dotnet.nix b/modules/software-templates/devenv/dotnet.nix new file mode 100644
index 0000000..53cbf52 --- /dev/null +++ b/modules/software-templates/devenv/dotnet.nix
@@ -0,0 +1,16 @@ +{ pkgs, nix-jetbrains-plugins, ... }: + +{ + environment.systemPackages = with nix-jetbrains-plugins.lib; [ + (buildIdeWithPlugins pkgs "rider" [ + "com.github.copilot" + "nix-idea" + # "visual-studio-keymap" + "String Manipulation" + ]) + pkgs.dotnetCorePackages.sdk_10_0 + ]; + environment.sessionVariables = { + DOTNET_CLI_TELEMETRY_OPTOUT = "1"; + }; +} diff --git a/modules/software-templates/devenv/go.nix b/modules/software-templates/devenv/go.nix new file mode 100644
index 0000000..bbce701 --- /dev/null +++ b/modules/software-templates/devenv/go.nix
@@ -0,0 +1,17 @@ +{ pkgs, nix-jetbrains-plugins, ... }: + +{ + environment.systemPackages = with nix-jetbrains-plugins.lib; [ + (buildIdeWithPlugins pkgs "goland" [ + "com.github.copilot" + "nix-idea" + # "visual-studio-keymap" + "String Manipulation" + ]) + pkgs.go + pkgs.gcc + ]; + environment.sessionVariables = { + DOTNET_CLI_TELEMETRY_OPTOUT = "1"; + }; +} diff --git a/modules/software-templates/devenv/java.nix b/modules/software-templates/devenv/java.nix new file mode 100644
index 0000000..a0065c6 --- /dev/null +++ b/modules/software-templates/devenv/java.nix
@@ -0,0 +1,13 @@ +{ pkgs, nix-jetbrains-plugins, ... }: + +{ + environment.systemPackages = with nix-jetbrains-plugins.lib; [ + (buildIdeWithPlugins pkgs "idea" [ + "com.github.copilot" + "nix-idea" + # "visual-studio-keymap" + "String Manipulation" + ]) + pkgs.openjdk17 + ]; +} diff --git a/modules/software-templates/devenv/javascript.nix b/modules/software-templates/devenv/javascript.nix new file mode 100644
index 0000000..de69646 --- /dev/null +++ b/modules/software-templates/devenv/javascript.nix
@@ -0,0 +1,13 @@ +{ pkgs, nix-jetbrains-plugins, ... }: + +{ + environment.systemPackages = with nix-jetbrains-plugins.lib; [ + (buildIdeWithPlugins pkgs "webstorm" [ + "com.github.copilot" + "nix-idea" + # "visual-studio-keymap" + "String Manipulation" + ]) + pkgs.nodejs_24 + ]; +} diff --git a/modules/software-templates/dotnet.client.nix b/modules/software-templates/dotnet.client.nix deleted file mode 100644
index f855aa3..0000000 --- a/modules/software-templates/dotnet.client.nix +++ /dev/null
@@ -1,26 +0,0 @@ -{ - config, - pkgs, - nixpkgs-stable, - ... -}: - -let - # We have to specify config to set allowUnfree, as nixpkgs-stable.legacyPackages doesn't pass through config. - # See: https://slab.midna.dev/public/posts/where-does-pkgs-come-from-xw6epo0t - stablePkgs = import nixpkgs-stable { - config = config.nixpkgs.config; - system = pkgs.stdenv.hostPlatform.system; - }; -in -{ - #imports = [ ./dotnet.nix ]; - environment.systemPackages = with pkgs; [ - #`jetbrains.rider - (jetbrains.plugins.addPlugins jetbrains.rider [ - jetbrains.plugins.github-copilot-fixed - #"github-copilot" - "nixidea" - ]) - ]; -} diff --git a/modules/software-templates/eid-mw.nix b/modules/software-templates/eid-mw.nix new file mode 100644
index 0000000..b74d060 --- /dev/null +++ b/modules/software-templates/eid-mw.nix
@@ -0,0 +1,11 @@ +{ pkgs, ... }: { + services.pcscd.enable = true; + environment.systemPackages = with pkgs; [ + p11-kit + opensc + eid-mw + ]; + environment.etc."pkcs11/modules/opensc-pkcs11".text = '' + module: ${pkgs.opensc}/lib/opensc-pkcs11.so + ''; +} \ No newline at end of file diff --git a/modules/software-templates/profilers.nix b/modules/software-templates/profilers.nix
index c90f81e..8c67b4f 100644 --- a/modules/software-templates/profilers.nix +++ b/modules/software-templates/profilers.nix
@@ -3,7 +3,7 @@ { environment.systemPackages = with pkgs; [ kdePackages.kcachegrind - config.boot.kernelPackages.perf + perf hotspot valgrind ];