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

@ -27,7 +27,7 @@ inputs: let
# This is used to pre-emptively set the hostPlatform for nixpkgs.
# Also, we set the system hostname here.
[
self.nixosModules.user
# self.nixosModules.user
]
(singleton {
networking.hostName = hostname;

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
self,
pkgs,
...
}: {
environment.systemPackages = builtins.attrValues {
inherit
(pkgs)
@ -87,5 +91,6 @@
zip
zoxide
;
inherit (self.packages.${pkgs.stdenv.system}) helix;
};
}