From 7eb932d8f9c472d8f3107a716b7185ed95c4435c Mon Sep 17 00:00:00 2001 From: Bad Date: Mon, 25 Jul 2022 18:19:54 +0200 Subject: [PATCH] Add pwnix input --- flake.lock | 73 ++++++++++++++++++++++++++++++++++++++- flake.nix | 3 ++ profiles/core/default.nix | 1 + 3 files changed, 76 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index ea9a189..d353e63 100644 --- a/flake.lock +++ b/flake.lock @@ -324,6 +324,21 @@ "type": "github" } }, + "flake-utils_5": { + "locked": { + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home": { "inputs": { "nixpkgs": [ @@ -348,6 +363,22 @@ "type": "github" } }, + "jwt-tool": { + "flake": false, + "locked": { + "lastModified": 1638313307, + "narHash": "sha256-k92mXf7H/n+gkOyStFQ+EWPXE0f7odCqqAexxAUK2jM=", + "owner": "MaeIsBad", + "repo": "jwt_tool", + "rev": "d2c8b3b934f91ec5fefea460deb97be31401550c", + "type": "github" + }, + "original": { + "owner": "MaeIsBad", + "repo": "jwt_tool", + "type": "github" + } + }, "latest": { "locked": { "lastModified": 1657533762, @@ -478,6 +509,45 @@ "type": "github" } }, + "pwnix": { + "inputs": { + "flake-utils": "flake-utils_5", + "jwt-tool": "jwt-tool", + "nixpkgs": [ + "nixos" + ], + "pycdc": "pycdc" + }, + "locked": { + "lastModified": 1645880943, + "narHash": "sha256-mNtN0sk6NJILwdzCFgRzZ5xVFmfCkNCryV0HaKWRlQ0=", + "ref": "refs/heads/mistress", + "rev": "8459beb3385a9c4f45d8b4ad58ad90c7a5f503e4", + "revCount": 4, + "type": "git", + "url": "https://im.badat.dev/bad/pwnix.git" + }, + "original": { + "type": "git", + "url": "https://im.badat.dev/bad/pwnix.git" + } + }, + "pycdc": { + "flake": false, + "locked": { + "lastModified": 1637645353, + "narHash": "sha256-iLf0pwmIF13/IS+vzpudT5O54Jj933pBZi0gbiz6Ebc=", + "owner": "zrax", + "repo": "pycdc", + "rev": "99b35a114a6fb84352ca92802c1a26fb8692a7b0", + "type": "github" + }, + "original": { + "owner": "zrax", + "repo": "pycdc", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -492,7 +562,8 @@ "nixos": "nixos", "nixos-hardware": "nixos-hardware", "nvfetcher": "nvfetcher", - "peerix": "peerix" + "peerix": "peerix", + "pwnix": "pwnix" } }, "rust-analyzer-src": { diff --git a/flake.nix b/flake.nix index 5500d64..abdc68f 100644 --- a/flake.nix +++ b/flake.nix @@ -46,6 +46,9 @@ nixos-hardware.url = "github:nixos/nixos-hardware"; fenix.url = "github:nix-community/fenix"; # fenix.inputs.nixpkgs.follows = "nixos"; + + pwnix.url = "git+https://im.badat.dev/bad/pwnix.git"; + pwnix.inputs.nixpkgs.follows = "nixos"; }; outputs = diff --git a/profiles/core/default.nix b/profiles/core/default.nix index 0c68233..bd23bd1 100644 --- a/profiles/core/default.nix +++ b/profiles/core/default.nix @@ -24,6 +24,7 @@ in nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; nix.registry.nixpkgs.flake = self.inputs.nixos; nix.registry.latest.flake = self.inputs.latest; + nix.registry.pwnix.flake = self.inputs.pwnix; # Fix zsh autocompletion with home-manager environment.pathsToLink = [ "/share/zsh" ];