i want for `modules/` to behave like a more typical `modules` directory, where functionality is opt-in.
13 lines
249 B
Nix
13 lines
249 B
Nix
# trampoline from flake.nix into the specific host definition, while doing a tiny bit of common setup
|
|
|
|
hostName: { ... }: {
|
|
imports = [
|
|
./${hostName}
|
|
./common
|
|
];
|
|
|
|
networking.hostName = hostName;
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
}
|