configurations for my servers and desktops
nix nixos flake dots dotfiles

feat: finder rackmac icon

hehe

+17 -1
+17 -1
hosts/bluepill/services/samba.nix
··· 4 4 nssmdns4 = true; 5 5 publish = { 6 6 enable = true; 7 + workstation = true; 7 8 userServices = true; 8 9 hinfo = true; 9 10 }; 10 11 }; 11 12 13 + services.avahi.extraServiceFiles = [ 14 + (pkgs.writeText "device-info.service" '' 15 + <?xml version="1.0" standalone='no'?> 16 + <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> 17 + <service-group> 18 + <name replace-wildcards="yes">%h</name> 19 + <service> 20 + <type>_device-info._tcp</type> 21 + <port>0</port> 22 + <txt-record>model=RackMac</txt-record> 23 + </service> 24 + </service-group> 25 + '') 26 + ]; 27 + 12 28 services.samba-wsdd = { 13 29 enable = true; 14 30 openFirewall = true; ··· 22 38 # https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X 23 39 "vfs objects" = "catia fruit streams_xattr"; # added catia 24 40 "fruit:metadata" = "stream"; 25 - "fruit:model" = "Macmini"; 41 + "fruit:model" = "RackMac"; 26 42 "fruit:veto_appledouble" = "no"; 27 43 "fruit:nfs_aces" = "no"; 28 44 "fruit:wipe_intentionally_left_blank_rfork" = "yes";