From 62f091d089de6a85da7b904713b2e9a44d63044e Mon Sep 17 00:00:00 2001 From: Bad Date: Thu, 15 Apr 2021 19:27:15 +0200 Subject: [PATCH] replace r2 with rz --- overlays/radare2.nix | 12 ------------ profiles/develop/default.nix | 1 - profiles/pwn/default.nix | 6 ++++++ suites/default.nix | 2 +- 4 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 overlays/radare2.nix create mode 100644 profiles/pwn/default.nix diff --git a/overlays/radare2.nix b/overlays/radare2.nix deleted file mode 100644 index 2d4dabe..0000000 --- a/overlays/radare2.nix +++ /dev/null @@ -1,12 +0,0 @@ -final: prev: { - radare2 = prev.radare2.overrideAttrs (o: { - src = prev.fetchFromGitHub { - owner = "radareorg"; - repo = "radare2"; - rev = "702e1c1adae8d297ce23fab71f7c6b3140d2cc39"; - sha256 = "bH7/zPJ2gnNGykuphj1j4Y/UnioLg7QGTsMj63PGMqE="; - }; - version = "5.2.0"; - } - ); -} diff --git a/profiles/develop/default.nix b/profiles/develop/default.nix index ed8d6ac..6cc2833 100644 --- a/profiles/develop/default.nix +++ b/profiles/develop/default.nix @@ -7,7 +7,6 @@ libcxx git gdb - radare2 ]; programs.adb.enable = true; diff --git a/profiles/pwn/default.nix b/profiles/pwn/default.nix new file mode 100644 index 0000000..4589ec0 --- /dev/null +++ b/profiles/pwn/default.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + rizin + ]; +} diff --git a/suites/default.nix b/suites/default.nix index 540caeb..c0b6b27 100644 --- a/suites/default.nix +++ b/suites/default.nix @@ -2,7 +2,7 @@ { system = with profiles; rec { base = [ users.mae users.root ]; - workstation = [ users.root sway develop game profiles.workstation ssh flatpak torrents ]; + workstation = [ users.root sway develop game profiles.workstation ssh flatpak torrents pwn ]; desktop = workstation ++ [ users.mae-desk amd school three_dee ]; lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager ]; };