From 2b13f15711f3824bd8cd543314aee64ef4b012c7 Mon Sep 17 00:00:00 2001 From: "finn.markwitz" Date: Tue, 28 Jan 2025 23:45:58 +0100 Subject: [PATCH] fix: Development Env --- modules/environments/development/default.nix | 27 +++++--------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/modules/environments/development/default.nix b/modules/environments/development/default.nix index f1b522f..499af0a 100644 --- a/modules/environments/development/default.nix +++ b/modules/environments/development/default.nix @@ -1,10 +1,6 @@ - { config, lib, pkgs, ... }: -let - cfg = config.my.profiles.development; - in { - - +let cfg = config.my.profiles.development; +in { options.my.profiles.development = with lib; { enable = mkEnableOption "Development Tools"; @@ -12,19 +8,10 @@ let config = lib.mkIf cfg.enable { users.users.finn.packages = with pkgs; [ - google-chrome + google-chrome vscode - neovim + neovim jetbrains.idea-ultimate - (python3.withPackages ( - ps: with ps; [ - matplotlib - numpy - pandas - tqdm # progressbar in pandas - wheel # python development - helium - ] - )) - }; - } + ]; + }; +}