Configure aresix
This commit is contained in:
parent
cb8d24c6ce
commit
4011299399
7 changed files with 289 additions and 2 deletions
|
@ -1,10 +1,29 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
|
||||
./modules/reverse-proxy.nix
|
||||
./modules/home-assistant.nix
|
||||
./modules/dyndns.nix
|
||||
];
|
||||
|
||||
services.logind.lidSwitch = "ignore";
|
||||
boot.kernelParams = ["consoleblank=60"]; # Blanks console (screen off) after 60s
|
||||
|
||||
networking = {
|
||||
interfaces = {
|
||||
enp1s0.ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.1.30";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
defaultGateway = {
|
||||
address = "192.168.1.1";
|
||||
interface = "enp1s0";
|
||||
};
|
||||
nameservers = ["1.1.1.1" "8.8.8.8"];
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue