Files

10 lines
283 B
Nix

{...}: {
# Define flake part nixosModule "hostConfiguration" and pass in arch specific pkgs
flake.nixosModules.hostConfiguration = {pkgs, ...}: {
# Normal nix code within module, add git to systemPackages
environment.systemPackages = with pkgs; [
git
];
};
}