ehllie / ez-configs

A flake-parts module for simple nixos, darwin and home-manager configurations using project directory structure
Mozilla Public License 2.0
59 stars 13 forks source link

systemBuilder: assign default hostName #1

Closed dwagenk closed 10 months ago

dwagenk commented 10 months ago

Since the hosts are organized by file and the filename is assumed to correspond to the hostname we can provide that as default value for the networking.hostName option that is valid for both nixosConfigurations as well as darwinConfigurations.

ehllie commented 10 months ago

This looks like a reasonable default to set. Thanks for the PR!