remove sshd from wap profile
It's not actually part of providing a wireless access point.
This commit is contained in:
parent
2ecaa3bef8
commit
4c3883a5e7
@ -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];
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user