build(ags): add ags home-manager module

This commit is contained in:
Mohammad Rafiq 2025-03-25 19:28:03 +08:00
parent 21a5daf9b6
commit c0397cd4b8
No known key found for this signature in database
4 changed files with 29 additions and 4 deletions

View file

@ -15,9 +15,14 @@
"x86_64-darwin"
"aarch64-darwin"
];
forEachSupportedSystem = nixpkgs.lib.genAttrs supportedSystems (system: {
pkgs = import nixpkgs { inherit system; };
});
forEachSupportedSystem =
f:
nixpkgs.lib.genAttrs supportedSystems (
system:
f {
pkgs = import nixpkgs { inherit system; };
}
);
# args will later be used in outputs to inherit the flake and its inputs for use in modules.
args = { inherit self inputs; };
# mkSystem lets us repeat the same config for multiple systems, called later in outputs.