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

View File

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