{ description = "Shiva Linux - Like Kali but based on NixOS"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; flake-parts.url = "github:hercules-ci/flake-parts"; }; outputs = inputs @ { self, flake-parts, nixpkgs, ... }: flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ./configurations.nix ]; systems = [ "x86_64-linux" "aarch64-linux" ]; perSystem = { config, pkgs, system, ... }: { formatter = pkgs.nixpkgs-fmt; devShells = { default = pkgs.mkShell { shellHook = "exec $SHELL"; }; }; packages = { hello = nixpkgs.legacyPackages.${system}.hello; default = self.packages.${system}.hello; }; }; flake = { nixosModules = { shiva = import ./modules/shiva; }; }; }; }