diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-05 15:43:01 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:45 -0700 |
| commit | 268e6596f85f76719cb98ea44f164227f5553028 (patch) | |
| tree | 3269208032a96aab646ac013819a8ee9042ac710 | |
| parent | 1b57fbd0aa4e790e3dbb007ea315b1af6efabf31 (diff) | |
migration: wget
| -rw-r--r-- | core/packages.nix | 1 | ||||
| -rw-r--r-- | snowfall/modules/nixos/apps/wget/default.nix | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/core/packages.nix b/core/packages.nix index 4ede458..66651a9 100644 --- a/core/packages.nix +++ b/core/packages.nix @@ -6,7 +6,6 @@ (writeShellScriptBin "rbf" "sudo nixos-rebuild switch --flake path:/etc/nixos") moreutils - wget killall jq ]; diff --git a/snowfall/modules/nixos/apps/wget/default.nix b/snowfall/modules/nixos/apps/wget/default.nix new file mode 100644 index 0000000..48dc3b8 --- /dev/null +++ b/snowfall/modules/nixos/apps/wget/default.nix @@ -0,0 +1,15 @@ +{ options, config, lib, pkgs, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.apps.wget; +in { + options.${namespace}.apps.wget = with types; { + enable = mkEnableOption "wget"; + }; + + config = mkIf cfg.enable { + environment.systemPackages = with pkgs; [ + wget + ]; + }; +} |