idk
This commit is contained in:
@@ -17,13 +17,31 @@ in
|
||||
imports = [
|
||||
./adguard.nix
|
||||
./boot.nix
|
||||
./networking.nix
|
||||
# ./networking.nix - moved to modules/nixos/network
|
||||
./sops.nix
|
||||
];
|
||||
|
||||
${namespace} = {
|
||||
hardware.disko.enable = true;
|
||||
network.hostName = "pi4";
|
||||
network = {
|
||||
hostName = "pi4";
|
||||
ipv4 = {
|
||||
method = "manual";
|
||||
address = "10.0.1.2/24";
|
||||
gateway = "10.0.1.1";
|
||||
dns = "1.1.1.1";
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
allowedTCPPorts = [ 53 ];
|
||||
allowedUDPPorts = [ 53 ];
|
||||
};
|
||||
wifi = {
|
||||
enable = true;
|
||||
powersave = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Configure nixpkgs
|
||||
|
||||
Reference in New Issue
Block a user