From 8e489a4cbe7d92f0c0c35568c816221c5d6ada64 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Wed, 5 Feb 2025 16:03:46 -0800 Subject: migration: move utility apps to tools --- snowfall/modules/nixos/tools/misc/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 snowfall/modules/nixos/tools/misc/default.nix (limited to 'snowfall/modules/nixos/tools/misc') diff --git a/snowfall/modules/nixos/tools/misc/default.nix b/snowfall/modules/nixos/tools/misc/default.nix new file mode 100644 index 0000000..a06a141 --- /dev/null +++ b/snowfall/modules/nixos/tools/misc/default.nix @@ -0,0 +1,19 @@ +{ options, config, lib, pkgs, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.tools.misc; +in { + options.${namespace}.tools.misc = with types; { + enable = mkEnableOption "misc tools"; + }; + + config = mkIf cfg.enable { + environment.systemPackages = with pkgs; [ + jq + killall + moreutils + unzip + wget + ]; + }; +} -- cgit v1.2.3