# vim: ts=2 { description = "Nixos system config"; inputs = import ./flake/inputs; outputs = {self, ...} @ inputs: let pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; system = "x86_64-linux"; in { nixosConfigurations = import ./outputs/nixosConfigurations {inherit inputs system;}; packages."${system}" = { install = import ./bootstrap/install { inherit pkgs; inherit (inputs) shell-library; }; activate = import ./bootstrap/activate { inherit pkgs; inherit (inputs) shell-library; }; }; apps."${system}" = { install = { type = "app"; program = "${self.packages."${system}".install}/bin/install"; }; activate = { type = "app"; program = "${self.packages."${system}".activate}/bin/activate"; }; default = self.apps."${system}".activate; }; }; }