Skip to content

Commit 4ac23e8

Browse files
committed
use unstable for metasploit
1 parent 10a4a91 commit 4ac23e8

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

flake.nix

+8-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@
6969
};
7070
};
7171

72+
pkgs-unstable = import inputs.nixpkgs-unstable {
73+
inherit system;
74+
config = {
75+
allowUnfree = true;
76+
};
77+
};
78+
7279
in {
7380
homeConfigurations = {
7481
"mauve-linux" = userLib.mkLinuxHMUser {
@@ -218,7 +225,7 @@
218225
javafx = import ./shell/javafx/shell.nix { inherit pkgs; };
219226
javaws = import ./shell/javaws/shell.nix { inherit pkgs; };
220227
pdf-merge = import ./shell/pdf-merge/shell.nix { inherit pkgs; };
221-
pentest = import ./shell/pentest/shell.nix { inherit pkgs; };
228+
pentest = import ./shell/pentest/shell.nix { inherit pkgs; pkgs-unstable = pkgs-unstable; };
222229
performance-disk = import ./shell/performance/disk/shell.nix { inherit pkgs; };
223230
php = import ./shell/php/shell.nix { inherit pkgs; };
224231
rust = import ./shell/rust/shell.nix { inherit pkgs; };

shell/pentest/shell.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ pkgs, ... }:
1+
{ pkgs, pkgs-unstable, ... }:
22

33
pkgs.mkShell {
44
packages = with pkgs; [
@@ -9,7 +9,7 @@ pkgs.mkShell {
99
gobuster
1010
hashcat
1111
john
12-
metasploit
12+
pkgs-unstable.metasploit
1313
python3
1414
sqlmap
1515
sslscan

0 commit comments

Comments
 (0)