remove sshd from wap profile

It's not actually part of providing a wireless access point.
gateway-profile
Daniel Barlow 2024-03-18 20:08:24 +00:00
parent 2ecaa3bef8
commit 4c3883a5e7
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
... ...
}: let }: let
secrets = import ./extneder-secrets.nix; secrets = import ./extneder-secrets.nix;
svc = config.system.service;
in rec { in rec {
boot = { boot = {
tftp = { tftp = {
@ -23,6 +24,7 @@ in rec {
imports = [ imports = [
"${modulesPath}/profiles/wap.nix" "${modulesPath}/profiles/wap.nix"
"${modulesPath}/vlan" "${modulesPath}/vlan"
"${modulesPath}/ssh"
]; ];
hostname = "extneder"; hostname = "extneder";
@ -80,6 +82,7 @@ in rec {
}; };
}; };
services.sshd = svc.ssh.build {};
users.root.passwd = lib.mkForce secrets.root.passwd; users.root.passwd = lib.mkForce secrets.root.passwd;
defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig]; defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig];
} }

View File

@ -40,7 +40,6 @@ in {
../network ../network
../hostapd ../hostapd
../bridge ../bridge
../ssh
{ config.services = hostaps; } { config.services = hostaps; }
]; ];
@ -54,7 +53,6 @@ in {
}; };
}; };
config = { config = {
services.sshd = svc.ssh.build {};
services.int = svc.bridge.primary.build { services.int = svc.bridge.primary.build {
ifname = "int"; ifname = "int";