{ # core self, pkgs, myPkgs, system, sysLib, nixpkgs_as_input, nixpkgs_open_prs, # modules home-manager, nixVim, nixos-generators, impermanence, agenix, ragenix, serverphone, disko, lanzaboote, nix-index-database, # external dependencies user_js, treefmt-nix, templates, # my binaries shell_library, river_init_lesser, yambar_memory, yambar_cpu, }: let treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;}; nixosConfigurations = import ./nixosConfigurations { inherit self myPkgs system nixpkgs_as_input nixpkgs_open_prs # my things shell_library sysLib templates # modules home-manager nixVim nixos-generators impermanence agenix ragenix serverphone disko lanzaboote nix-index-database # bins river_init_lesser yambar_cpu yambar_memory # external user_js ; }; in { inherit nixosConfigurations; checks."${system}" = { inherit (self.packages."${system}") nvim ; formatting = treefmtEval.config.build.check self; }; # legacyPackages."${system}" = pkgs; packages."${system}" = import ./packages { inherit nixos-generators pkgs myPkgs sysLib system nixVim self shell_library ; inherit (pkgs) lib; }; formatter."${system}" = treefmtEval.config.build.wrapper; apps."${system}" = import ./apps {inherit self system;}; devShells."${system}" = { default = pkgs.mkShell { packages = [ # secure boot pkgs.sbctl # other pkgs.cocogitto pkgs.git-bug # secrets ragenix.packages."${system}".default # shell pkgs.shfmt # TODO: Integrate this into nvim <2023-10-31> # rust pkgs.rustfmt pkgs.cargo # nix pkgs.alejandra # update myPkgs.generate_moz_extension # needed for the firefox extension update script myPkgs.lf-make-map # needed to generate the lf cd mappings myPkgs.update-vim-plugins ]; }; }; }