diff options
-rw-r--r-- | flake.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/flake.nix b/flake.nix index d88ecb6..7e8280e 100644 --- a/flake.nix +++ b/flake.nix @@ -128,6 +128,16 @@ }; }); + packages = forAllSystems (system: + let pkgs = nixpkgsFor.${system}; + in + { + inherit (inputs.futils.lib) filterPackages flattenTree; + tools = import ./tools { inherit pkgs; }; + ops = import ./ops { inherit pkgs; }; + users.fcuny = import ./users/fcuny { inherit pkgs; }; + }); + nixosConfigurations = { aptos = myLib.mkSystem { hostname = "aptos"; }; carmel = myLib.mkSystem { hostname = "carmel"; }; @@ -145,16 +155,4 @@ myLib.mkHomeManagerConfiguration { hostname = "tahoe"; }; }; }; - # in eachMySystem (system: - # let - # pkgs = import inputs.nixpkgs { inherit system; }; - # home-manager = inputs.home-manager.defaultPackage."${system}"; - # in rec { - # packages = pkgs // { - # inherit home-manager; - - # tools = import ./tools { inherit pkgs; }; - # ops = import ./ops { inherit pkgs; }; - # users.fcuny = import ./users/fcuny { inherit pkgs; }; - # }; } |