7 lines
211 B
Nix
7 lines
211 B
Nix
|
{config, cfg, lib, ...}: {
|
||
|
#mod.desc = "an example";
|
||
|
options.networking.hostName = lib.mkOption { default = "nixos"; };
|
||
|
opt.name = lib.mkOption { default = "foo"; };
|
||
|
config.networking.hostName = cfg.name;
|
||
|
}
|