rule = { matches = { { { "node.name", "equals", "alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink" }, }, }, apply_properties = { ["node.description"] = "Laptop Speakers/Headphones", ["node.nick"] = "laptop-internal-out", }, } table.insert(alsa_monitor.rules, rule)