mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
Add new host nas
This commit is contained in:
parent
d4e1577ee1
commit
30a2321805
7 changed files with 205 additions and 0 deletions
25
hosts/nas/default.nix
Normal file
25
hosts/nas/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ self, ... }:
|
||||
{
|
||||
imports = [ self.nixosModules.server-profile ];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
custom = {
|
||||
boot.loader.grub.enable = true;
|
||||
|
||||
networking = {
|
||||
overlay = {
|
||||
address = "10.254.250.6";
|
||||
isLighthouse = true;
|
||||
};
|
||||
underlay = {
|
||||
interface = "enp2s0";
|
||||
cidr = "192.168.0.64/24";
|
||||
isPublic = true;
|
||||
gateway = "192.168.0.1";
|
||||
};
|
||||
};
|
||||
|
||||
services.dns.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue