From 62998a5807f9b3529d8539e47edb0a2a96f5f1c6 Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Tue, 11 Feb 2025 17:31:14 +0100 Subject: [PATCH] packages --- overhaul/modules/packages/console.nix | 47 +++++++++++++++++++++++++++ overhaul/modules/packages/visual.nix | 46 ++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 overhaul/modules/packages/console.nix create mode 100644 overhaul/modules/packages/visual.nix diff --git a/overhaul/modules/packages/console.nix b/overhaul/modules/packages/console.nix new file mode 100644 index 0000000..37ccda7 --- /dev/null +++ b/overhaul/modules/packages/console.nix @@ -0,0 +1,47 @@ +{ + inputs, + outputs, + lib, + config, + pkgs, + ... +}: let + inherit (lib) mkEnableOption mkIf mkOption types; + cfg = config.horseman.terminal.pkgs; +in { + options = { + horseman.terminal.pkgs = { + enable = mkEnableOption "Packages that are used in the terminal"; + }; + }; + + config = mkIf cfg.enable { + environment.packages = with pkgs; [ + direnv + docker-compose + efibootmgr + ethtool + file + fzf + gcc + gnupg + haskell.compiler.native-bignum.ghcHEAD + haskell-language-server + htop + jdk + neofetch + nodejs_22 + python313 + platformio-core + sops + sqlite + sxiv + termdown + tmux + unzip + wakeonlan + zsh + xclip + ]; + }; +} diff --git a/overhaul/modules/packages/visual.nix b/overhaul/modules/packages/visual.nix new file mode 100644 index 0000000..2d197bc --- /dev/null +++ b/overhaul/modules/packages/visual.nix @@ -0,0 +1,46 @@ +{ + inputs, + outputs, + lib, + config, + pkgs, + ... +}: let + inherit (lib) mkEnableOption mkIf mkOption types; + cfg = config.horseman.packages.visual; +in { + options = { + horseman.packages.visual = { + enable = mkEnableOption "Programs that open in a window on the screen"; + }; + }; + + config = mkIf cfg.enable { + environment.packages = with pkgs; [ + alacritty + bitwarden + discord-ptb + ghex + gnome-calculator # Should be replaced, opens up so slowww + jetbrains.clion + jetbrains.idea-ultimate + jetbrains.pycharm-professional + jetbrains.rider + jetbrains.webstorm + inkscape + keepassxc + krita + libreoffice + mullvad-vpn + parsec-bin + qbittorrent + reaper + retext + solaar + spotify + sqlitebrowser + thunderbird + vlc + ]; + }; +}