feat(networking): enable ssh publishing on avahi
This commit is contained in:
parent
32eda010ea
commit
6e4f72402a
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
with lib.hlissner;
|
with lib.hlissner;
|
||||||
{
|
{
|
||||||
|
@ -10,6 +10,13 @@ with lib.hlissner;
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns = true;
|
nssmdns = true;
|
||||||
|
publish = {
|
||||||
|
enable = true;
|
||||||
|
userServices = true;
|
||||||
|
};
|
||||||
|
extraServiceFiles = {
|
||||||
|
ssh = "${pkgs.avahi}/etc/avahi/services/ssh.service";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue