edit packages list

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-26 20:45:40 +02:00
parent 7c8a552730
commit 922e916a7a
6 changed files with 77 additions and 115 deletions
+2 -7
View File
@@ -1,11 +1,6 @@
{ {pkgs-stable, ...}: {
pkgs,
pkgs-stable,
...
}: {
home.packages = with pkgs-stable; [ home.packages = with pkgs-stable; [
vlc # Video player vlc # Video player
blanket # White-noise app
obsidian # Note taking app obsidian # Note taking app
textpieces # Manipulate texts textpieces # Manipulate texts
resources # Ressource monitor resources # Ressource monitor
@@ -16,6 +11,6 @@
onlyoffice-desktopeditors # Office suite onlyoffice-desktopeditors # Office suite
signal-desktop # Messaging app signal-desktop # Messaging app
element-desktop # Messaging app librewolf
]; ];
} }
@@ -0,0 +1,39 @@
{
pkgs,
pkgs-stable,
inputs,
system,
}:
(with pkgs-stable; [
httpie
trufflehog
sttr
wireshark
nmap
john
hashcat
metasploit
haiti
hydra
dnsrecon
whois
dig
nosqli
jwt-cli
nuclei
caido
gobuster
dirb
ffuf
sqlmap
katana
inetutils
samba
openvpn
mariadb
redis
])
++ [
inputs.spilltea.packages.${system}.default
inputs.jwt-tui.packages.${system}.default
]
+4 -36
View File
@@ -4,42 +4,10 @@
pkgs, pkgs,
... ...
}: { }: {
home.packages = with pkgs-stable; [ home.packages = import ./cybersecurity-packages.nix {
httpie inherit pkgs pkgs-stable inputs;
trufflehog system = pkgs.stdenv.hostPlatform.system;
sttr };
wireshark
nmap
john
hashcat
metasploit
haiti
hydra
dnsrecon
whois
dig
nosqli
jwt-cli
nuclei
# Web
inputs.spilltea.packages.${pkgs.system}.default
inputs.jwt-tui.packages.${pkgs.system}.default
caido
nuclei
gobuster
dirb
ffuf
sqlmap
katana
# Utils
inetutils
samba
openvpn
mariadb
redis
];
systemd.user.tmpfiles.rules = [ systemd.user.tmpfiles.rules = [
"d %h/Cyber/tmp 0755 - - -" "d %h/Cyber/tmp 0755 - - -"
+22
View File
@@ -0,0 +1,22 @@
{
pkgs,
pkgs-stable,
inputs,
system,
}:
(with pkgs; [
go
bun
nodejs
claude-code
inputs.bun2nix.packages.${system}.default
])
++ (with pkgs-stable; [
air
duckdb
docker
python3
jq
just
nix-prefetch-github
])
+4 -18
View File
@@ -4,22 +4,8 @@
inputs, inputs,
... ...
}: { }: {
home.packages = home.packages = import ./dev-packages.nix {
(with pkgs; [ inherit pkgs pkgs-stable inputs;
# Unstable: latest toolchain versions preferred for dev system = pkgs.stdenv.hostPlatform.system;
go };
bun
nodejs
claude-code
inputs.bun2nix.packages.${stdenv.hostPlatform.system}.default
])
++ (with pkgs-stable; [
air
duckdb
docker
python3
jq
just
nix-prefetch-github
]);
} }
+6 -54
View File
@@ -4,66 +4,18 @@
pkgs-stable, pkgs-stable,
system, system,
... ...
}: { }: let
devPackages = import ./dev-packages.nix {inherit pkgs pkgs-stable inputs system;};
cyberPackages = import ./cybersecurity-packages.nix {inherit pkgs pkgs-stable inputs system;};
in {
packages.${system} = { packages.${system} = {
dev = pkgs.buildEnv { dev = pkgs.buildEnv {
name = "dev-tools"; name = "dev-tools";
paths = paths = devPackages;
(with pkgs; [
go
bun
nodejs
air
duckdb
claude-code
inputs.bun2nix.packages.${system}.default
])
++ (with pkgs-stable; [
docker
python3
jq
just
]);
}; };
cybersecurity = pkgs.buildEnv { cybersecurity = pkgs.buildEnv {
name = "cybersecurity-tools"; name = "cybersecurity-tools";
paths = with pkgs-stable; [ paths = cyberPackages;
wireshark
nmap
john
hashcat
metasploit
haiti
hydra
dnsrecon
whois
dig
nosqli
jwt-cli
nuclei
caido
gobuster
dirb
ffuf
sqlmap
inetutils
samba
openvpn
mariadb
redis
];
};
};
homeManagerModules = {
dev = {
_module.args.pkgs-stable = pkgs-stable;
imports = [./dev.nix];
};
cybersecurity = {
_module.args.pkgs-stable = pkgs-stable;
imports = [./cybersecurity.nix];
}; };
}; };
} }