gutterman: use static ip
This commit is contained in:
parent
5e43f817a4
commit
f338602ae3
1 changed files with 14 additions and 0 deletions
|
|
@ -19,6 +19,20 @@
|
||||||
../../modules/nixos/system/minimal.nix
|
../../modules/nixos/system/minimal.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
useDHCP = false;
|
||||||
|
interfaces.enp0s20f0u1.ipv4.addresses = [{
|
||||||
|
# ip leak
|
||||||
|
address = "192.168.2.129";
|
||||||
|
prefixLength = 24;
|
||||||
|
}];
|
||||||
|
defaultGateway = "192.168.2.1";
|
||||||
|
nameservers = [
|
||||||
|
"192.168.2.19"
|
||||||
|
"1.1.1.1"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.btop
|
pkgs.btop
|
||||||
pkgs.steamcmd
|
pkgs.steamcmd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue