mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat(topology): add samba shares detail info
This commit is contained in:
parent
6866840306
commit
0013dd2d01
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue