[NixOS] Advertise workstation on avahi
This commit is contained in:
parent
bd4d72f889
commit
0451255644
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"openssl-1.0.2u"
|
"openssl-1.0.2u"
|
||||||
|
"electron-12.2.3"
|
||||||
"etcher"
|
"etcher"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -45,7 +46,13 @@
|
|||||||
publish = {
|
publish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = true;
|
domain = true;
|
||||||
|
workstation = true;
|
||||||
userServices = true;
|
userServices = true;
|
||||||
|
addresses = true;
|
||||||
|
hinfo = true;
|
||||||
|
};
|
||||||
|
extraServiceFiles = {
|
||||||
|
ssh = "''${pkgs.avahi}/etc/avahi/services/ssh.service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user