blob: 48dc3b81b9886a2a61b88f4dcd3b73e717cb910b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
];
};
}
|