This commit is contained in:
cnst
2024-06-15 18:41:47 +02:00
parent 4ce4dffc50
commit 4fc24b5c12

View File

@@ -14,10 +14,20 @@
outputs = {
self,
nixpkgs,
home-manager,
home-manager
systems,
...
} @ inputs: let
inherit (self) outputs;
lib = nixpkgs.lib // home-manager.lib;
forEachSystem = f: lib.genAttrs (import systems) (system: f pkgsFor.${system});
pkgsFor = lib.genAttrs (import systems) (
system:
import nixpkgs {
inherit system;
config.allowUnfree = true;
}
);
in {
# NixOS configuration entrypoint
# Available through 'nixos-rebuild --flake .#your-hostname'