Files

10 lines
295 B
Nix

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