Flake: simplified configuration

This commit is contained in:
Filippo Berto 2026-02-05 11:19:04 +01:00
parent 127fc7f418
commit b7f38fa122
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC

View file

@ -71,12 +71,10 @@
}; };
in in
# Use flake-parts for modular structure # Use flake-parts for modular structure
inputs.flake-parts.lib.mkFlake { inherit inputs; } { inputs.flake-parts.lib.mkFlake { inherit inputs; } ({ self, withSystem, inputs, ... }: {
# Support all systems defined in inputs.systems # Support all systems defined in inputs.systems
systems = import inputs.systems; systems = import inputs.systems;
imports = [ imports = [ inputs.git-hooks.flakeModule ];
inputs.git-hooks.flakeModule
({ self, withSystem, inputs, ... }: {
# Per-system configuration (applies to each system independently) # Per-system configuration (applies to each system independently)
perSystem = { config, pkgs, system, ... }: { perSystem = { config, pkgs, system, ... }: {
@ -614,7 +612,5 @@
# }; # };
}; };
}; };
}) });
];
};
} }