1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

feat(topology): add samba shares detail info

This commit is contained in:
oddlama 2024-04-01 14:34:20 +02:00
parent 6866840306
commit 0013dd2d01
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -103,6 +103,10 @@ in {
samba = mkIf config.services.samba.enable {
name = "Samba";
icon = "services.samba";
details.shares = let
shares = attrNames config.services.samba.shares;
in
mkIf (shares != []) {text = concatLines shares;};
};
oauth2_proxy = mkIf config.services.oauth2_proxy.enable {