flake: move packages to packages dir

This commit is contained in:
Charlie Root 2025-03-03 15:43:20 +01:00
commit a3edf577dc
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
14 changed files with 22 additions and 21 deletions

View file

@ -12,10 +12,8 @@
formatter.x86_64-linux = pkgs.alejandra;
packages = eachSystem (
system: let
user = import ./modules/user {pkgs = pkgsFor.${system};};
in {
inherit (user) packages;
system: {
inherit (import ./packages pkgsFor.${system}) helix fish;
}
);
@ -31,11 +29,11 @@
program = "${user.packages.helix}/bin/hx";
};
});
nixosModules = eachSystem (system: let
user = import ./modules/user {pkgs = pkgsFor.${system};};
in {
user = user.module;
});
# nixosModules = eachSystem (system: let
# user = import ./modules/user {inherit inputs;};
# in {
# user = user.module;
# });
};
inputs = {
# Unstable nixpkgs baby!