some reorganizing
This commit is contained in:
parent
df9e8ae8bf
commit
113e015135
182 changed files with 443 additions and 449 deletions
13
sys/profiles/network/avahi.nix
Normal file
13
sys/profiles/network/avahi.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
# network discovery, mDNS
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
domain = true;
|
||||
userServices = true;
|
||||
};
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
6
sys/profiles/network/goldberg.nix
Normal file
6
sys/profiles/network/goldberg.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [47584];
|
||||
allowedUDPPorts = [47584];
|
||||
};
|
||||
}
|
8
sys/profiles/network/localsend.nix
Normal file
8
sys/profiles/network/localsend.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
localsend
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [53317];
|
||||
networking.firewall.allowedUDPPorts = [53317];
|
||||
}
|
11
sys/profiles/network/networkd.nix
Normal file
11
sys/profiles/network/networkd.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
};
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
dnssec = "true";
|
||||
domains = ["~."];
|
||||
};
|
||||
}
|
7
sys/profiles/network/tailscale.nix
Normal file
7
sys/profiles/network/tailscale.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
useRoutingFeatures = "client";
|
||||
};
|
||||
}
|
5
sys/profiles/network/wifi.nix
Normal file
5
sys/profiles/network/wifi.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
networking.wireless = {
|
||||
iwd.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue