Skip to content

Commit 2310087

Browse files
committed
mitmproxy: use app-shell
1 parent 429ce97 commit 2310087

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/mitmproxy/example.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{ ... }:
2-
31
{
42
programs.mitmproxy.enable = true;
53
}

projects/mitmproxy/module.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ in
1414
};
1515

1616
config = lib.mkIf cfg.enable {
17-
environment.systemPackages = [ cfg.package ];
17+
demo-shell.mitmproxy.programs = {
18+
mitmproxy = cfg.package;
19+
};
1820
};
1921
}

0 commit comments

Comments
 (0)