formatted all files with nixfmt, added env variable to hold secrets
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{host, lib, config, ...}:
|
||||
{
|
||||
{ host, lib, config, ... }: {
|
||||
options = {
|
||||
movOpts.hardwareCfg.networkModule.enable = lib.mkEnableOption "enables network configuration";
|
||||
movOpts.hardwareCfg.networkModule.enable =
|
||||
lib.mkEnableOption "enables network configuration";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.hardwareCfg.networkModule.enable {
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
hostName = "${host}";
|
||||
hosts = {
|
||||
"192.168.1.200" = ["xenon"];
|
||||
"192.168.1.201" = ["oganesson"];
|
||||
"192.168.1.202" = ["mercury"];
|
||||
"192.168.1.200" = [ "xenon" ];
|
||||
"192.168.1.201" = [ "oganesson" ];
|
||||
"192.168.1.202" = [ "mercury" ];
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user