blob: 6eee199394b7f3d5da8b22156ffc9b96701811cc (
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.killall;
in {
options.${namespace}.apps.killall = with types; {
enable = mkEnableOption "killall";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
killall
];
};
}
|