forked from Fachschaft/nixConfig
Create backuphost Bragi
This commit is contained in:
parent
1c827b5ed1
commit
b7b0e07f44
4 changed files with 166 additions and 0 deletions
15
nixos/machines/bragi/network.nix
Normal file
15
nixos/machines/bragi/network.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
# We sohuld put that config somewhere in roles and give it a parameter or something,
|
||||
# everyone gets the same nameserver and the same prefixLength and address vs defaultGateway alsways
|
||||
# depend on the same thing
|
||||
{
|
||||
networking = {
|
||||
interfaces.enp0s25.ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.1.11";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
defaultGateway = "192.168.1.137";
|
||||
nameservers = ["130.83.2.22" "130.83.56.60" "130.83.22.60" "130.82.22.63"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue