final changes for tonight
This commit is contained in:
parent
49432e0650
commit
40c672d89b
7 changed files with 14 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
hades = import ./hades;
|
||||
olympus = import ./olympus;
|
||||
hades = [];
|
||||
}
|
||||
|
|
1
nixos/hosts/hades/default.nix
Normal file
1
nixos/hosts/hades/default.nix
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
|
@ -7,8 +7,6 @@
|
|||
{
|
||||
imports = [ ];
|
||||
|
||||
networking.hostName = "template";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
@ -5,7 +5,8 @@ let
|
|||
hostName = hostname;
|
||||
ipAddress = ip;
|
||||
};
|
||||
hosts' = hosts.olympus;
|
||||
localDomain = config.networking.domain;
|
||||
hosts' = hosts.${localDomain};
|
||||
in {
|
||||
imports = [ ];
|
||||
|
||||
|
@ -41,8 +42,8 @@ in {
|
|||
option broadcast-address 10.42.43.255;
|
||||
option routers 10.42.42.1;
|
||||
option domain-name-servers 10.42.42.15, 10.42.42.16;
|
||||
option domain-name "olympus";
|
||||
option domain-search "olympus";
|
||||
option domain-name "${localDomain}";
|
||||
option domain-search "${localDomain}";
|
||||
subnet 10.42.42.0 netmask 255.255.254.0 {
|
||||
range 10.42.43.1 10.42.43.254;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue